"examples/pytorch/deepwalk/load_dataset.py" did not exist on "8d16d4bb6b436d2f0b18b2300be1b77acd614709"
Commit deaf8f94 authored by Davis King's avatar Davis King
Browse files

Made DLIB_ASSERT and DLIB_CASSERT not kill the process when running inside a

MATLAB mex file.
parent ddf48df3
......@@ -254,6 +254,15 @@ namespace dlib
void check_for_previous_fatal_errors()
{
// If dlib is being use to create plugins for some other application, like
// MATLAB, then don't do these checks since it terminates the over arching
// system. Just let the errors go to the plugin handler and it will deal with
// them.
#if defined(MATLAB_MEX_FILE)
return;
#endif
static bool is_first_fatal_error = true;
if (is_first_fatal_error == false)
{
......
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