Skip to content

Commit

Permalink
- fixed bug at partial function evaluation
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@20296 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Volker Waurich committed Apr 28, 2014
1 parent a9c8b63 commit 75df3a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Compiler/BackEnd/EvaluateFunctions.mo
Expand Up @@ -765,7 +765,9 @@ algorithm
//stmts1 := listReverse(stmts1);
//stmts1 := List.filterOnTrue(stmts1,statementRHSIsNotConst);
// remove the constant values
stmts1 := traverseStmtsAndUpdate(stmts1,stmtCanBeRemoved,replIn,{});
//stmts1 := traverseStmtsAndUpdate(stmts1,stmtCanBeRemoved,replIn,{});
stmts1 := listReverse(stmts1);

// build new crefs for the scalars
(stmts1,_) := DAEUtil.traverseDAEEquationsStmts(stmts1,makeIdentCref,varScalarCrefs);
(stmts1,_) := DAEUtil.traverseDAEEquationsStmts(stmts1,makeIdentCref,constScalarCrefs);
Expand Down

0 comments on commit 75df3a9

Please sign in to comment.