Fix GCC warning about float comparison. Ticket: #2936

This commit is contained in:
Simon Martin 2011-07-24 21:35:21 +02:00 committed by Daniel Marjamäki
parent b7d110460e
commit 7346d07871
1 changed files with 1 additions and 1 deletions

View File

@ -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)