Skip to content

Commit

Permalink
- added differention rule for DAE.WILD()
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@20121 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Willi Braun committed Apr 14, 2014
1 parent 97a7c2a commit 61edba1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Compiler/BackEnd/Differentiate.mo
Expand Up @@ -1128,6 +1128,11 @@ algorithm
//print("\nExp-Cref\n Array " +& se1);
then
(res, outFunctionTree);

// let WILD() => WILD()
case ((e as DAE.CREF(componentRef = DAE.WILD())), _, _, _, _)
then
(e, inFunctionTree);

// D(x)/dx => 1
case (DAE.CREF(componentRef = cr, ty = tp), _, _, _, _)
Expand Down

0 comments on commit 61edba1

Please sign in to comment.