remove superfluous test

This commit is contained in:
Axel Kohlmeyer
2025-06-12 11:26:08 -04:00
parent 768d5bb9c1
commit 349def92d2
2 changed files with 2 additions and 2 deletions

View File

@ -557,7 +557,7 @@ double utils::numeric(const char *file, int line, const std::string &str, bool d
char *end;
rv = std::strtod(buf.c_str(), &end);
// return value if denormal
if ((rv != 0.0) && (rv > -HUGE_VAL) && (rv < HUGE_VAL)) return rv;
if ((rv > -HUGE_VAL) && (rv < HUGE_VAL)) return rv;
msg = fmt::format("Floating point number {} in input script or data file is out of range", buf);
if (do_abort)