Skip to content

Commit

Permalink
- fix compilation
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@12211 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Jens Frenkel committed Jun 26, 2012
1 parent 9e6d211 commit 8902cbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Compiler/BackEnd/BackendEquation.mo
Expand Up @@ -1423,7 +1423,7 @@ algorithm
rhs_exp_1 = Expression.negate(rhs_exp);
(rhs_exp_2,_) = ExpressionSimplify.simplify(rhs_exp_1);
then ((eqn,(v, arrayEqs,complEqs,entrylst,rhs_exp_2::explst,source::sources)));

/*
case ((eqn as BackendDAE.ARRAY_EQUATION(dimSize=ds,left=e1, right=e2,source=source),(v, arrayEqs,complEqs,entrylst,explst,sources)))
equation
new_exp = Expression.expSub(e1,e2);
Expand All @@ -1437,7 +1437,7 @@ algorithm
explst = listAppend(explst1,explst);
sources = List.consN(equationSize(eqn), source, sources);
then ((eqn,(v, arrayEqs,complEqs,entrylst,explst,sources)));

*/
case ((eqn as BackendDAE.ARRAY_EQUATIONWRAPPER(index=index,source=source),(v, arrayEqs,complEqs,entrylst,explst,sources)))
equation
BackendDAE.MULTIDIM_EQUATION(dimSize=ds,left=e1, right=e2) = arrayEqs[index+1];
Expand Down

0 comments on commit 8902cbf

Please sign in to comment.