diff options
author | 2010-09-23 11:15:36 +0200 | |
---|---|---|
committer | 2010-09-23 11:15:36 +0200 | |
commit | 62bf04b339d0e393728a561cc236003400c532e9 (patch) | |
tree | d863042cbf83d8c46870c8ebc7cf621067b108b2 /test | |
parent | e0ea25fc213a49198190ead2cdc9da3d3b59f21e (diff) |
Fixed bad memory access in the SVD.
Diffstat (limited to 'test')
-rw-r--r-- | test/svd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/svd.cpp b/test/svd.cpp index 8836563d3..3003c9dff 100644 --- a/test/svd.cpp +++ b/test/svd.cpp @@ -51,7 +51,7 @@ template<typename MatrixType> void svd(const MatrixType& m) } - if (rows==cols) + if (rows>=cols) { if (ei_is_same_type<RealScalar,float>::ret) { |