Infinite recursion when doing exp(matrix)
@ggael
Submitted by Gael GuennebaudAssigned to Nobody
Link to original bugzilla bug (#314)
Version: 3.0
Description
Here is a simple example to reproduce:
#include <Eigen/Core>
#include <iostream>
int main() {
Eigen::MatrixXf a(4,4), b;
b = exp(a);
}
The problem is in the file MathFunctions.h, lines 469-488 where exp calls exp_default_impl::exp which itself calls exp...
The fix is probably to add specializations for MatrixBase objects.
Blocking
Edited by Eigen Bugzilla