Registered Member
|
Hi, I am getting infinite recursion (and crash) with the following code, latest eigen from mercurial, using g++4.6 (with -std=c++0x):
If I run in gdb, this is bt snip (I stopped the output, it is all the same):
What should I do? I am compiling with -ggdb2, though with EIGEN_NO_DEBUG. Could recompiling with eigen debugging help finding the bug? Or is the cause obvious for someone? Cheers! |
Registered Member
|
Replying to myself, I found that I accidentally typed
Wouldn't it be worth to specialize std::exp template to Eigen classes to avoid such mistakes? Sorry for noise. v |
Moderator
|
just to be sure, you want the matrix exponential right? not the exponential of each coefficient...
Anyways that's weird that exp(Matrix) compiles, I'll check that... |
Moderator
|
ok, I got it. This is bug from our side, not from the std.
|
Registered Member
|
Thanks, Gael. Yes, I wanted matrix exponential. Cheers!
|
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]