mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
Fix typo in comment
This commit is contained in:
1 parent
8276d92ce7
commit
d903226db6
1 file changed
+1
-2
+1
-2
@@ -40,12 +40,11 @@ std::vector<QString> ExpressionParserImpl::detectReferencedVariables(const QStri
|
|||||||
{
|
{
|
||||||
QString variableNameLowerCase = QString::fromStdString(s);
|
QString variableNameLowerCase = QString::fromStdString(s);
|
||||||
|
|
||||||
// ExprTk reports always in
|
// ExprTk reports always in lower case
|
||||||
|
|
||||||
int index = expression.indexOf(variableNameLowerCase, 0, Qt::CaseInsensitive);
|
int index = expression.indexOf(variableNameLowerCase, 0, Qt::CaseInsensitive);
|
||||||
if (index > -1)
|
if (index > -1)
|
||||||
{
|
{
|
||||||
|
|
||||||
referencedVariables.push_back(expression.mid(index, variableNameLowerCase.size()));
|
referencedVariables.push_back(expression.mid(index, variableNameLowerCase.size()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user