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

Commit 693886b

Browse files
sjoelundOpenModelica-Hudson
authored andcommitted
[NF] Fix generation of reduction temp-var names
Belonging to [master]: - #2177
1 parent cce5d83 commit 693886b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Compiler/NFFrontEnd/NFCall.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,7 @@ protected
904904

905905
case TYPED_MAP_CALL()
906906
then DAE.REDUCTION(
907-
DAE.REDUCTIONINFO(Function.name(call.fn), Absyn.COMBINE(), Type.toDAE(call.ty), NONE(), "TMP", "TMP", NONE()),
907+
DAE.REDUCTIONINFO(Function.name(call.fn), Absyn.COMBINE(), Type.toDAE(call.ty), NONE(), String(Util.getTempVariableIndex()), String(Util.getTempVariableIndex()), NONE()),
908908
Expression.toDAE(call.exp),
909909
list(iteratorToDAE(iter) for iter in call.iters));
910910

0 commit comments

Comments
 (0)