Closed
Description
When I compile pcl surface I get this error:
'initializing': cannot convert from 'Eigen::IndexedView<Derived,float,float>' to 'float'
in line 112:
float dx = float (x - x_w),
dy = float (y - y_w);
float val_exp_depth = val_exp_depth_matrix(dx+window_size_, dy+window_size_);
The fix is to make dx and dy int, not float. They are used as indices in matrix and compiler cannot choose the correct overload
Why do dx and dy variables float at all? And how does it work before?
Visual Studio 2015
Eigen 3.3.90 (latest from mercurial repo)
I will create a pull request as soon as my last pull request will be approved
Metadata
Metadata
Assignees
Labels
No labels