Skip to content

Commit

Permalink
New frontend array connect (#9395)
Browse files Browse the repository at this point in the history
* [SimCode] fix json file gen for generic calls

* [NF] check type instead of name
  • Loading branch information
kabdelhak committed Sep 20, 2022
1 parent 6ba356d commit 02c4db5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMCompiler/Compiler/NFFrontEnd/NFArrayConnections.mo
Expand Up @@ -499,7 +499,7 @@ protected
algorithm
for var1 in vars1 loop
for var2 in vars2 loop
if ComponentRef.firstName(var1) == ComponentRef.firstName(var2) then
if Type.isEqual(ComponentRef.nodeType(var1), ComponentRef.nodeType(var2)) then
l := generateConnector(var1, inds1);
r := generateConnector(var2, inds2);
ty := Expression.typeOf(l);
Expand Down

0 comments on commit 02c4db5

Please sign in to comment.