@@ -46,7 +46,6 @@ protected import DAEUtil;
4646protected import Debug ;
4747protected import Expression ;
4848protected import ExpressionDump ;
49- protected import ExpressionSimplify ;
5049protected import Flags ;
5150protected import List ;
5251
@@ -175,18 +174,6 @@ algorithm
175174 ((_, eqns)) = List . threadFold4(ea1, ea2, generateScalarArrayEqns2, source, differentiated, eqKind, DAE . EQUALITY_EXPS (lhs, rhs), (1 , inAccEqnLst));
176175 then (eqns, true );
177176
178- case (BackendDAE . ARRAY_EQUATION (left= lhs,right= rhs, source= source, differentiated= differentiated, kind= eqKind), _) equation
179- ((e1_1, (_, _))) = BackendDAEUtil . extendArrExp((lhs, (NONE (), false )));
180- ((e2_1, (_, _))) = BackendDAEUtil . extendArrExp((rhs, (NONE (), false )));
181- (e1_1,_) = ExpressionSimplify . simplify(e1_1);
182- (e2_1,_) = ExpressionSimplify . simplify(e2_1);
183- true = Expression . isArray(e1_1) or Expression . isMatrix(e1_1);
184- true = Expression . isArray(e2_1) or Expression . isMatrix(e2_1);
185- ea1 = Expression . flattenArrayExpToList(e1_1);
186- ea2 = Expression . flattenArrayExpToList(e2_1);
187- ((_, eqns)) = List . threadFold4(ea1, ea2, generateScalarArrayEqns2, source, differentiated, eqKind, DAE . EQUALITY_EXPS (lhs, rhs), (1 , inAccEqnLst));
188- then (eqns, true );
189-
190177 case (BackendDAE . COMPLEX_EQUATION (left= lhs, right= rhs, source= source, differentiated= differentiated, kind= eqKind), _) equation
191178 ea1 = Expression . splitRecord(lhs,Expression . typeof(lhs));
192179 ea2 = Expression . splitRecord(rhs,Expression . typeof(rhs));
0 commit comments