mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2053 Curve calc. Resove ptr field and fix a bug
This commit is contained in:
@@ -86,11 +86,12 @@ RimSummaryCalculation* RimSummaryCalculationCollection::addCalculationCopy(const
|
||||
|
||||
expression.replace(currVarName, newVarName);
|
||||
calcCopy->setExpression(expression);
|
||||
calcCopy->parseExpression();
|
||||
|
||||
m_calcuations.push_back(calcCopy);
|
||||
|
||||
calcCopy->resolveReferencesRecursively();
|
||||
rebuildCaseMetaData();
|
||||
calcCopy->parseExpression();
|
||||
|
||||
return calcCopy;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user