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

[NF] Fix generation of reduction temp-var names #2177

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion Compiler/NFFrontEnd/NFCall.mo
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ protected

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

Expand Down