Skip to content
Snippets Groups Projects
Commit 5d3d42dd authored by Dave Moxey's avatar Dave Moxey
Browse files

Merge branch 'fix/SessionFunction-varNameOverride' into 'master'

fix variable name overriding in file functions

See merge request !870
parents baa11bae 066a9066
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,7 @@ v5.0.0
function definitions for the Absorption Forcing (!769)
- Improve performance of DisContField2D::v_ExtractTracePhys (!824)
- Fix small bug in Jacobian Energy (!857)
- fix variable name overriding in file functions (!870)
- Adds CFI CAD engine back-end (!864)
- Adds CFI Mesh IO support (!864)
- Cleanup of CAD system data structures (!864)
......
......@@ -499,7 +499,7 @@ void SessionFunction::EvaluatePts(string pFieldName,
vector<string> fieldNames = outPts->GetFieldNames();
for (fieldInd = 0; fieldInd < fieldNames.size(); ++fieldInd)
{
if (outPts->GetFieldName(fieldInd) == pFieldName)
if (outPts->GetFieldName(fieldInd) == fileVar)
{
break;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment