Skip to content
This repository was archived by the owner on May 18, 2019. It is now read-only.

Commit 444fbec

Browse files
perostOpenModelica-Hudson
authored andcommitted
[NF] Fix parent in Inst.instComponentExpressions.
Belonging to [master]: - #2606
1 parent f2acbf5 commit 444fbec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Compiler/NFFrontEnd/NFInst.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1971,7 +1971,7 @@ algorithm
19711971
instExpressions(c.classInst, node);
19721972

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

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

0 commit comments

Comments
 (0)