mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-09 07:00:27 +08:00
re-fix the broken msvc warning in JacobiSVD
This commit is contained in:
parent
3404d5fb14
commit
3481f10e7a
@ -432,10 +432,10 @@ void JacobiSVD<MatrixType, QRPreconditioner>::allocate(Index rows, Index cols, u
|
||||
m_rows = rows;
|
||||
m_cols = cols;
|
||||
m_isInitialized = false;
|
||||
m_computeFullU = bool(computationOptions & ComputeFullU);
|
||||
m_computeThinU = bool(computationOptions & ComputeThinU);
|
||||
m_computeFullV = bool(computationOptions & ComputeFullV);
|
||||
m_computeThinV = bool(computationOptions & ComputeThinV);
|
||||
m_computeFullU = (computationOptions & ComputeFullU) != 0;
|
||||
m_computeThinU = (computationOptions & ComputeThinU) != 0;
|
||||
m_computeFullV = (computationOptions & ComputeFullV) != 0;
|
||||
m_computeThinV = (computationOptions & ComputeThinV) != 0;
|
||||
ei_assert(!(m_computeFullU && m_computeThinU) && "JacobiSVD: you can't ask for both full and thin U");
|
||||
ei_assert(!(m_computeFullV && m_computeThinV) && "JacobiSVD: you can't ask for both full and thin V");
|
||||
ei_assert(EIGEN_IMPLIES(m_computeThinU || m_computeThinV, MatrixType::ColsAtCompileTime==Dynamic) &&
|
||||
|
Loading…
Reference in New Issue
Block a user