aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cholesky.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2008-09-03 20:52:26 +0000
committerGravatar Gael Guennebaud <g.gael@free.fr>2008-09-03 20:52:26 +0000
commitc29c7b0ea95b86f73d77224efb26f96abdc189ac (patch)
tree621b6db8df4a4d9e3f771bc6ffdb455e24bc25e5 /test/cholesky.cpp
parente14aa8c8aa1646bbfdf501a84b0665bb17220229 (diff)
Fix bugs reported by Timothy Hunter:
* CholeskyWithoutSqrt with 1x1 matrices * .part<Diagonal>() Updated unit tests to handle these cases
Diffstat (limited to 'test/cholesky.cpp')
-rw-r--r--test/cholesky.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/cholesky.cpp b/test/cholesky.cpp
index 36a11c723..80614346c 100644
--- a/test/cholesky.cpp
+++ b/test/cholesky.cpp
@@ -79,7 +79,6 @@ template<typename MatrixType> void cholesky(const MatrixType& m)
}
#endif
- if (rows>1)
{
CholeskyWithoutSquareRoot<SquareMatrixType> cholnosqrt(symm);
VERIFY(cholnosqrt.isPositiveDefinite());