Fixed bad memory access in the SVD.

This commit is contained in:
Hauke Heibel
2010-09-23 11:15:36 +02:00
parent 82e4a16759
commit 947f84633b
2 changed files with 4 additions and 2 deletions

View File

@@ -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)
{