eigensolver writes in already allocated memory
Submitted by emi..@..il.com
Assigned to Nobody
Link to original bugzilla bug (#682)
Version: 3.0
Operating system: Linux
Description
using "Vector3d v3 =solver.eigenvectors().col(minorEigen).real()"; inside a loop in my code (minorEigen is a int index to choose the eigenvector of the minor eigenvalue), causes a lot of the values in the 800x800x600 matrix that I use as dataset to change its values almost zeroing them (and the change depends also on the minorEigen value (the values are currently around 50000 each and they become numbers between e-20 and e+5. I debugged for hours and this line is causing the change, as if going to write with a bogus pointer in the already allocated memory. It happened on 2 different test machines, 1 with Ubuntu 12.04, one with Debian 7.0.
Edited by Eigen Bugzilla