fix stuff after the PermutationMatrix changes.

I still have JacobiSVD errors when cols>rows
This commit is contained in:
Benoit Jacob
2009-11-18 12:41:24 -05:00
parent 94c706d04f
commit 8860203e6a
4 changed files with 13 additions and 10 deletions

View File

@@ -54,6 +54,9 @@ template<typename MatrixType, unsigned int Options> void svd(const MatrixType& m
MatrixUType u = svd.matrixU();
MatrixVType v = svd.matrixV();
std::cout << "a\n" << a << std::endl;
std::cout << "b\n" << u * sigma * v.adjoint() << std::endl;
VERIFY_IS_APPROX(a, u * sigma * v.adjoint());
VERIFY_IS_UNITARY(u);
VERIFY_IS_UNITARY(v);