swiss-seismological-service / scrtdd

Double Difference Relocator for SeisComP
27 stars 10 forks source link

Avoid FE_INVALID to be set #39

Closed damb closed 3 years ago

damb commented 3 years ago

Prevent the FE_INVALID flag (from <cfenv>) from being set. Comparison between a floating-point number and a NaN value might cause the flag to be set.

See also:

luca-s commented 3 years ago

Good catch. Thanks!

luca-s commented 3 years ago

Merged, thanks!