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

Commit

Permalink
[NF] Fix array binding issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
perost authored and OpenModelica-Hudson committed Mar 26, 2018
1 parent f10312d commit c282ec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/NFFrontEnd/NFTypeCheck.mo
Expand Up @@ -2121,7 +2121,7 @@ algorithm
comp_ty := componentType;
binding_level := BindingOrigin.level(binding.origin);

if binding_level >= 0 then
if binding_level > 0 then
parent := component;

for i in 1:InstNode.level(component) - binding_level loop
Expand Down

0 comments on commit c282ec9

Please sign in to comment.