From 412104fa0a84dfd602a7fc591cdfdab5995956e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Crozet?= Date: Thu, 9 Dec 2021 13:31:39 +0100 Subject: [PATCH] Add comment about the origin of the failing 3x3 SVD matrix --- tests/linalg/svd.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/linalg/svd.rs b/tests/linalg/svd.rs index 573b5c1b..c5b2d9c1 100644 --- a/tests/linalg/svd.rs +++ b/tests/linalg/svd.rs @@ -364,6 +364,9 @@ fn svd_fail() { #[test] #[rustfmt::skip] fn svd3_fail() { + // NOTE: this matrix fails the special case done for 3x3 SVDs. + // It was found on an actual application using SVD as part of the minimization of a + // quadratic error function. let m = nalgebra::matrix![ 0.0, 1.0, 0.0; 0.0, 1.7320508075688772, 0.0;