diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-11-18 12:41:24 -0500 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-11-18 12:41:24 -0500 |
commit | 8860203e6a29d7cc5f19097ca57aa458ee449777 (patch) | |
tree | aaec08d968aa74b9e8dbaf8bf0cc227501cd92bc /test/jacobisvd.cpp | |
parent | 94c706d04fe74cfc6917f6ac057e0c3ca98796c7 (diff) |
fix stuff after the PermutationMatrix changes.
I still have JacobiSVD errors when cols>rows
Diffstat (limited to 'test/jacobisvd.cpp')
-rw-r--r-- | test/jacobisvd.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/jacobisvd.cpp b/test/jacobisvd.cpp index f3a143e3c..587bc7572 100644 --- a/test/jacobisvd.cpp +++ b/test/jacobisvd.cpp @@ -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); |