Fix GCC warning about float comparison. Ticket: #2936
This commit is contained in:
parent
b7d110460e
commit
7346d07871
|
@ -304,7 +304,7 @@ bool MathLib::isEqual(const std::string &first, const std::string &second)
|
|||
|
||||
bool MathLib::isNotEqual(const std::string &first, const std::string &second)
|
||||
{
|
||||
return toDoubleNumber(first) != toDoubleNumber(second);
|
||||
return !isEqual(first, second);
|
||||
}
|
||||
|
||||
bool MathLib::isGreater(const std::string &first, const std::string &second)
|
||||
|
|
Loading…
Reference in New Issue