Fixed two spelling mistakes found by ettlmartin

This commit is contained in:
PKEuS 2013-06-12 13:13:05 -07:00
parent 75616786ef
commit 917acea2ca
2 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ public:
/** @brief %Check calls that using them is useless */
void uselessCalls();
/** @brief %Check for derefencing an iterator that is invalid */
/** @brief %Check for dereferencing an iterator that is invalid */
void checkDereferenceInvalidIterator();
/**

View File

@ -368,7 +368,7 @@ std::string MathLib::abs(const std::string &tok)
bool MathLib::isEqual(const std::string &first, const std::string &second)
{
// this conversion is needed for formatting
// e.g. if first=0.1 and second=1.0E-1, the direct comparison of the strings whould fail
// e.g. if first=0.1 and second=1.0E-1, the direct comparison of the strings would fail
return doubleToString(toDoubleNumber(first)) == doubleToString(toDoubleNumber(second));
}