Registered Member
|
Compiling the following code on VC2008
gives me
Is there something obvious I have missed? I am using latest public release version. |
Registered Member
|
2 problems here:
1) Map is not part of what USING_PART_OF_NAMESPACE_EIGEN provides. Actually, just forget about USING_PART_OF_NAMESPACE_EIGEN, just do: using namespace Eigen; It was kind of a mistake that we introduced it and it's going away in Eigen 3.0. 2) there is no Map constructor taking an int argument. Look at the documentation of class Map.
Join us on Eigen's IRC channel: #eigen on irc.freenode.net
Have a serious interest in Eigen? Then join the mailing list! |
Registered Member
|
It was meant to be a fun declaration. After fixing the namespace, the problem is fixed. Thanks! |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]