Skip to content

Commit

Permalink
added rule for derive SCONST
Browse files Browse the repository at this point in the history
  • Loading branch information
vruge authored and OpenModelica-Hudson committed Mar 24, 2016
1 parent 7b8142a commit b4d4a97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Compiler/BackEnd/Differentiate.mo
Expand Up @@ -563,6 +563,7 @@ algorithm
case DAE.BCONST(bool=b) then (DAE.BCONST(b), inFunctionTree);
case DAE.ICONST() then (DAE.ICONST(0), inFunctionTree);
case DAE.RCONST() then (DAE.RCONST(0.0), inFunctionTree);
case DAE.SCONST() then (inExp, inFunctionTree);

// differentiate cref
case DAE.CREF() equation
Expand Down

0 comments on commit b4d4a97

Please sign in to comment.