Skip to content

Commit

Permalink
[NF] Fix generation of reduction temp-var names
Browse files Browse the repository at this point in the history
Belonging to [master]:
  - OpenModelica/OMCompiler#2177
  • Loading branch information
sjoelund authored and OpenModelica-Hudson committed Feb 8, 2018
1 parent cce5d83 commit 693886b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/NFFrontEnd/NFCall.mo
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

0 comments on commit 693886b

Please sign in to comment.