New user self-registration is currently disabled. Please email eigen-core-team @ lists.tuxfamily.org if you need an account.
Bug 1134 - Condition always false in JacobiSVD::allocate()
Condition always false in JacobiSVD::allocate()
Status: RESOLVED FIXED
Product: Eigen
Classification: Unclassified
Component: SVD
3.2
All All
: Normal Unknown
Assigned To: Nobody
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-12-11 09:53 UTC by Thorsten Harter
Modified: 2015-12-11 11:00 UTC (History)
3 users (show)



Attachments

Description Thorsten Harter 2015-12-11 09:53:54 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.