Condition always false in JacobiSVD::allocate()
Submitted by Thorsten Harter
Assigned to Nobody
Link to original bugzilla bug (#1134)
Version: 3.2
Description
Version: 3.2.7 (2015-11-05)
File: SVD\JacobiSVD.h
Line: 819
if(m_cols!=m_cols) m_scaledMatrix.resize(rows,cols);
This condition is always false, I assume that it should be if(m_rows!=m_cols) as in line 844.
This didn't cause any troubles, it was only found by the static code analysis tool.
Edited by Eigen Bugzilla