Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
24872a6a
Commit
24872a6a
authored
May 21, 2013
by
Davis King
Browse files
Fixed a segmentation fault in the eigenvalue_decomposition object
which could occur when NaN valued inputs were given.
parent
cecc38f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
dlib/matrix/matrix_eigenvalue.h
dlib/matrix/matrix_eigenvalue.h
+2
-0
No files found.
dlib/matrix/matrix_eigenvalue.h
View file @
24872a6a
...
@@ -593,6 +593,8 @@ namespace dlib
...
@@ -593,6 +593,8 @@ namespace dlib
}
}
m
++
;
m
++
;
}
}
if
(
m
==
n
)
--
m
;
// If m == l, d(l) is an eigenvalue,
// If m == l, d(l) is an eigenvalue,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment