Skip to content

Commit

Permalink
[BE] differentiate the inner exp of getPart
Browse files Browse the repository at this point in the history
Belonging to [master]:
  - OpenModelica/OMCompiler#2276
  • Loading branch information
Willi Braun authored and OpenModelica-Hudson committed Mar 15, 2018
1 parent 65beadf commit b3683ed
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Compiler/BackEnd/Differentiate.mo
Expand Up @@ -1462,7 +1462,10 @@ algorithm
exp_1 = Expression.makeZeroExpression(Expression.arrayDimension(tp));
then (exp_1, inFuncs);

case ("$getPart",_) then (exp, inFuncs);
case ("$getPart",_) equation
(exp_1, funcs) = differentiateExp(exp, inDiffwrtCref, inInputData,inDiffType,inFuncs, maxIter);
then (exp_1, funcs);

case ("firstTick",_) then (exp, inFuncs);
case ("interval",_) then (exp, inFuncs);

Expand Down

0 comments on commit b3683ed

Please sign in to comment.