Skip to content

Commit

Permalink
- break loop in Derive
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@11306 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Jens Frenkel committed Mar 6, 2012
1 parent c9c77b7 commit 79b0f32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Compiler/BackEnd/Derive.mo
Expand Up @@ -630,6 +630,7 @@ algorithm
equation
// try to inline
(e1,_) = Inline.forceInlineExp(e,(SOME(functions),{DAE.NORM_INLINE(),DAE.NO_INLINE()}),DAE.emptyElementSource/*TODO:Can we propagate source?*/);
false = referenceEq(e1,e);
// get Derivative function
e2 = differentiateExpTime(e1,inVariables);
then
Expand Down

0 comments on commit 79b0f32

Please sign in to comment.