Skip to content

Commit

Permalink
[NSimCode] do not collect literals from equations (only functions) (O…
Browse files Browse the repository at this point in the history
  • Loading branch information
kabdelhak committed Jun 13, 2024
1 parent 4e81649 commit 4034cbd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion OMCompiler/Compiler/NSimCode/NSimCode.mo
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,6 @@ public

// get and replace all literals
collect_literals := function Expression.map(func = function Expression.replaceLiteral(map = literals_map, idx_ptr = literals_idx));
_ := EqData.mapExp(eqData, collect_literals);
funcTree := FunctionTreeImpl.mapExp(funcTree, collect_literals);
literals := UnorderedMap.keyList(literals_map);

Expand Down

0 comments on commit 4034cbd

Please sign in to comment.