diff --git a/lib/mathlib.cpp b/lib/mathlib.cpp index 0f46ec29a..4e105e465 100644 --- a/lib/mathlib.cpp +++ b/lib/mathlib.cpp @@ -1335,7 +1335,7 @@ bool MathLib::isLessEqual(const std::string &first, const std::string &second) **/ bool MathLib::isNullValue(const std::string &str) { - if (str.empty() || (!std::isdigit(static_cast(str[0])) && (str[0] != '.' && str[0] != '-' && str[0] != '+') )) + if (str.empty() || (!std::isdigit(static_cast(str[0])) && (str[0] != '.' && str[0] != '-' && str[0] != '+'))) return false; // Has to be a number for (size_t i = 0; i < str.size(); i++) {