Skip to content

Commit

Permalink
[Janitor mode] Fix whitespace
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@22926 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Oct 24, 2014
1 parent 2b5888f commit 0f60125
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Compiler/BackEnd/Differentiate.mo
Expand Up @@ -2300,16 +2300,16 @@ algorithm
DAE.Exp de, res;
DAE.Type ty;
Integer ix;

case ({}, _, _, _)
then inAccum;

case (expLst::rest, de::restDiff, DAE.TSUB(exp=DAE.CALL(path=path, expLst=_, attr=attr), ix =ix, ty=ty), _) equation
res = DAE.TSUB(DAE.CALL(path, expLst, attr), ix, ty);
res = Expression.expMul(de, res);
res = Expression.expAdd(inAccum, res);
then createPartialSum(rest, restDiff, inCall, res);

case (expLst::rest, de::restDiff, DAE.CALL(path=path, expLst=_, attr=attr), _) equation
res = DAE.CALL(path, expLst, attr);
res = Expression.expMul(de, res);
Expand All @@ -2335,7 +2335,7 @@ algorithm

case ({}, _, _, _)
then listReverse(inAccum);

case (e::rest, _, _, _) equation
tp = Expression.typeof(e);
dims = Expression.arrayDimension(tp);
Expand Down

0 comments on commit 0f60125

Please sign in to comment.