Registered Member
|
Hi,
I have the following problem that only arises in debug mode: I want to an build Eigen view on a float array via an Eigen Map inside a Class that contains a floatting point dynamic array named dataPtr_. For this purpose I wrote a method getEigenView(...) for this class.
When I use a O3 compilation flag, the code is OK and I guess that the RVO avoids the Eigen::Map Copy Ctor but when I switch to -O0 the code fails and gives the following message :
Any hints ? thank you for your help, Laurent |
Registered Member
|
Solved. It was a bug in my code. I tried to use operator = on map with different sizes...
Sorry for the noise. Laurent |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]