Skip to content
Snippets Groups Projects
Commit bf792b0d authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Do not choke on underflow.

parent 58d36dd4
Branches
Tags
No related merge requests found
......@@ -270,7 +270,7 @@ int main(int argc, char *argv[]) {
/* Do we choke on FP-exceptions ? */
if (with_fp_exceptions) {
feenableexcept(FE_DIVBYZERO | FE_INVALID | FE_OVERFLOW | FE_UNDERFLOW);
feenableexcept(FE_DIVBYZERO | FE_INVALID | FE_OVERFLOW);
if (myrank == 0) message("Floating point exceptions will be reported.");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment