diff options
Diffstat (limited to 'src/apps')
| -rw-r--r-- | src/apps/gie.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/apps/gie.cpp b/src/apps/gie.cpp index 912113b4..f0f7968f 100644 --- a/src/apps/gie.cpp +++ b/src/apps/gie.cpp @@ -1005,7 +1005,8 @@ Tell GIE what to expect, when transforming the ACCEPTed input else d = proj_xyz_dist (co, ce); - if (d > T.tolerance) + // Test written like that to handle NaN + if (!(d <= T.tolerance)) return expect_message (d, args); succs++; |
