[go: up one dir, main page]

Eigen::Matrix< unsigned int >::setLinSpaced

Submitted by sim..@..um.com

Assigned to Nobody

Link to original bugzilla bug (#1424)
Version: 3.3 (current stable)
Operating system: Windows

Description

Dear all,

In both VS2015 and VS2017, the following code snippet fails to compile with eigen-3.3.3.:

Eigen::Matrix< unsigned int, 1, 5 > m;  
m.setLinSpaced(0u, 7u);  

VS2015 complains:
Severity Code Description Project File Line
Error C2668 'abs': ambiguous call to overloaded function eigen_vs2015 c:\eigen-3.3.3\eigen\src\core\mathfunctions.h 1066

With eigen-3.2.8, we do not get any errors.

thanks, Simon

Edited by Eigen Bugzilla