Closed marcelo-alvarez closed 4 years ago
This PR fixes #32 by adding the line:
fedisableexcept (FE_INVALID|FE_DIVBYZERO|FE_OVERFLOW);
before
return EXIT_SUCCESS;
in specex_desi_main.cc. This allows floating point exceptions to halt execution, as originally intended, while not causing the crash during python execution of specex.py.
specex_desi_main.cc
specex.py
This PR fixes #32 by adding the line:
before
in
specex_desi_main.cc
. This allows floating point exceptions to halt execution, as originally intended, while not causing the crash during python execution ofspecex.py
.