Registered Member
|
I'm rather mystified by this odd error.
where inputScaling is a class member double. This produces:
This is wrong, somehow it multiplied! Switch the division line to:
produces the correct:
I'm using the stable release 3.2.0 under g++ 4.8.0 with c++11 enabled. |
Registered Member
|
This is strange indeed. Does up- or down-grading the compiler help? Changing the compiler flags? I don't know what else to suggest as long as we don't have a self-contained example.
|
Registered Member
|
Well, I should have known better. It went away on a clean compile - I forgot to do this when I just upgraded Eigen. Sorry for the mistake.
That exact swap of operators is an odd way to fail, although I suppose I've seen the compiler do very strange things if it gets into an inconsistent partly-compiled state. |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]