AutoDiffScalar and Polynomial
Submitted by twa..@..il.com
Assigned to Nobody
Link to original bugzilla bug (#1057)
Version: 3.2
Operating system: Windows
Description
Created attachment 599
cmake project showing error
It seems that if unsupported/Eigen/AutoDiffScalar is included before unsupported/Eigen/Polynomials, MSVC 2010 and 2013 have trouble with LLDT::rankUpdate:
c:\users\twan\code\eigenautodiffpolynomial\install\include\eigen3\eigen\src/Cholesky/LDLT.h(489): error C2244: 'Eigen::LDLT<_MatrixType,_UpLo>::rankUpdate' : unable to match function definition to an existing declaration [C:\Users\Twan\code\eigenAutoDiffPolynomial\build\eigenAutoDiffPolynomial\src\eigenAutoDiffPolynomial-build\autoDiffPolynomials.vcxproj][C:\Users\Twan\code\eigenAutoDiffPolynomial\build\eigenAutoDiffPolynomial.vcxproj]
This issue does not appear in MSVC 2015.
I'm having trouble understanding why the order of includes matters, but it does.
See attachment for a tiny project showing the error.
Attachment 599, "cmake project showing error":
eigenAutoDiffPolynomial.zip