"vscode:/vscode.git/clone" did not exist on "b4ad59d77f3fff30f148a0391b4cdfc6ef19915c"
Commit 24872a6a authored by Davis King's avatar Davis King
Browse files

Fixed a segmentation fault in the eigenvalue_decomposition object

which could occur when NaN valued inputs were given.
parent cecc38f5
......@@ -593,6 +593,8 @@ namespace dlib
}
m++;
}
if (m == n)
--m;
// If m == l, d(l) is an eigenvalue,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment