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

Commit 0fb5b98

Browse files
perostOpenModelica-Hudson
authored andcommitted
[NF] Fix Flatten.collectTypeFuncs for arrays.
Belonging to [master]: - #2868
1 parent 2be04fd commit 0fb5b98

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Compiler/NFFrontEnd/NFFlatten.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1265,7 +1265,7 @@ function collectTypeFuncs
12651265
input Type ty;
12661266
input output FunctionTree funcs;
12671267
algorithm
1268-
() := match ty
1268+
() := match Type.arrayElementType(ty)
12691269
local
12701270
InstNode con, de;
12711271
Function fn;

0 commit comments

Comments
 (0)