Skip to content

Commit

Permalink
[NF] Fix parent in Inst.instComponentExpressions.
Browse files Browse the repository at this point in the history
Belonging to [master]:
  - OpenModelica/OMCompiler#2606
  • Loading branch information
perost authored and OpenModelica-Hudson committed Aug 13, 2018
1 parent f2acbf5 commit 444fbec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/NFFrontEnd/NFInst.mo
Expand Up @@ -1971,7 +1971,7 @@ algorithm
instExpressions(c.classInst, node);

for i in 1:arrayLength(dims) loop
dims[i] := instDimension(dims[i], InstNode.parent(component), c.info);
dims[i] := instDimension(dims[i], InstNode.parent(node), c.info);
end for;

// This is to avoid instantiating the same component multiple times,
Expand Down

0 comments on commit 444fbec

Please sign in to comment.