You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[question] NaN check for optimization algorithms? #1607
I found out after painful debugging that dlib's find_global_min fails with a segmentation fault when the observed values contain NaN.
What do you think about including a NaN checking procedure to optimization algorithms?
If you like the idea I'll work on it and commit to dlib.
It certainly shouldn't segfault. So yeah, if you want to submit a PR that makes it throw dlib::error or puts a DLIB_CASSERT on this then that would be a good addition.
Activity
[-][request] NaN check for optimization algorithms?[/-][+][question] NaN check for optimization algorithms?[/+]davisking commentedon Dec 28, 2018
It certainly shouldn't segfault. So yeah, if you want to submit a PR that makes it throw
dlib::erroror puts aDLIB_CASSERTon this then that would be a good addition.