Fixed two spelling mistakes found by ettlmartin
This commit is contained in:
parent
75616786ef
commit
917acea2ca
|
@ -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();
|
||||
|
||||
/**
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue