Registered Member
|
Trying to compile following code using VC 2010:
And getting an error about no operator found
What is going wrong? Is selfadjointView supports scalar multiplication? According to http://eigen.tuxfamily.org/dox/QuickRefPage.html it is.
Last edited by sapien2 on Thu Nov 29, 2012 3:15 pm, edited 1 time in total.
|
Registered Member
|
Same error with gcc 4.7.2 from http://nuwen.net/mingw.html
|
Moderator
|
This is not supported, instead do:
Eigen::Matrix3d m2 = (s1 * m1).selfadjointView<Eigen::Upper>(); |
Registered Member
|
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]