Registered Member
|
Hi,
I'm using: #include <Eigen/Sparse> #include <unsupported/Eigen/UmfPackSupport> If I use the compile flag -std=c++0x I get multiple errors like: eigen/unsupported/Eigen/src/SparseExtra/UmfPackSupport.h: In function ‘int Eigen::umfpack_symbolic(int, int, const int*, const int*, const std::complex<double>*, void**, const double*, double*)’: /eigen/unsupported/Eigen/src/SparseExtra/UmfPackSupport.h:55: error: lvalue required as unary ‘&’ operand I'm using g++ (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5, libumfpack5.4.0, eigen-3.0-beta2 I've got no clue on how to solve this. Can anyone help me fix this problem? Cheers, traubi |
Registered Member
|
Hi,
I switched to Super LU which solves my problem for now. Cheers, Traubi |
Moderator
|
I added parenthesis around Ax[0].real(), this should fix the issue.
|
Registered Member
|
Thanks, I will try it as soon as possible. Cheers Traubi |
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft