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

Commit

Permalink
Fix wrapFunctionCalls for cpp runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
ptaeuber authored and OpenModelica-Hudson committed Apr 12, 2017
1 parent fd294f6 commit 8429f94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/BackEnd/CommonSubExpression.mo
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ algorithm
var := BackendVariable.setBindExp(var, SOME(call));

// If it is a tuple or a record (or record within tuple)
if intGt(listLength(varList), 1) then
if intGt(listLength(varList), 1) or Expression.isTuple(cse) then
if debug then print("\ndebug 11 - It is a tuple! Add it to tplExp\n"); end if;
var.tplExp := SOME(cse);
end if;
Expand Down

0 comments on commit 8429f94

Please sign in to comment.