Add comment about the origin of the failing 3x3 SVD matrix
This commit is contained in:
parent
229c137756
commit
412104fa0a
|
@ -364,6 +364,9 @@ fn svd_fail() {
|
||||||
#[test]
|
#[test]
|
||||||
#[rustfmt::skip]
|
#[rustfmt::skip]
|
||||||
fn svd3_fail() {
|
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![
|
let m = nalgebra::matrix![
|
||||||
0.0, 1.0, 0.0;
|
0.0, 1.0, 0.0;
|
||||||
0.0, 1.7320508075688772, 0.0;
|
0.0, 1.7320508075688772, 0.0;
|
||||||
|
|
Loading…
Reference in New Issue