Registered Member
|
Beta 3 does better checking, and found I was using a Map on a const array. This was OK in that I had no intentions of changing the data and it all worked.
How do I placate the new more careful Map and get it to allow me const access, or is that not possible? It did not seem to like Map<const float, etc. Cheers |
Moderator
|
here is an example:
|
Registered Member
|
I would also like to update the docs to clarify that the recommended way is to use the Map static methods like VectorXf::Map(ptr). They take care of everything for you.
Join us on Eigen's IRC channel: #eigen on irc.freenode.net
Have a serious interest in Eigen? Then join the mailing list! |
Moderator
|
ok, but most of the time it is preferable to declare a Map object to use it several times.
|
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft