mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fixed bad memory access in the SVD.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user