Skip to content

Commit

Permalink
- Partially evaluated functions now works in algorithms (see PartialF…
Browse files Browse the repository at this point in the history
…n8 testcase for example)

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@4543 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Stefan Brus committed Nov 19, 2009
1 parent 549a40f commit dedf4aa
Show file tree
Hide file tree
Showing 2 changed files with 497 additions and 18 deletions.
6 changes: 6 additions & 0 deletions Compiler/DAELow.mo
Expand Up @@ -5249,6 +5249,12 @@ algorithm
res = Util.listListUnionOnTrue(lst, Exp.expEqual);
then
res;
case (DAE.PARTEVALFUNCTION(expList = expl),vars)
equation
lst = Util.listMap1(expl, statesAndVarsExp, vars);
res = Util.listListUnionOnTrue(lst, Exp.expEqual);
then
res;
case (DAE.ARRAY(array = expl),vars)
equation
lst = Util.listMap1(expl, statesAndVarsExp, vars);
Expand Down

0 comments on commit dedf4aa

Please sign in to comment.