Changeset 20882


Ignore:
Timestamp:
2014-05-28T18:27:34+02:00 (10 years ago)
Author:
vwaurich
Message:

-reverted 20880 since one model fails, will check this on monday

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Compiler/BackEnd/InlineArrayEquations.mo

    r20880 r20882  
    4747protected import Expression;
    4848protected import ExpressionDump;
    49 protected import ExpressionSimplify;
    5049protected import Flags;
    5150protected import List;
     
    171170      ((e1_1, (_, _))) = BackendDAEUtil.extendArrExp((lhs, (NONE(), false)));
    172171      ((e2_1, (_, _))) = BackendDAEUtil.extendArrExp((rhs, (NONE(), false)));
    173       ea1 = Expression.flattenArrayExpToList(e1_1);
    174       ea2 = Expression.flattenArrayExpToList(e2_1);
    175       ((_, eqns)) = List.threadFold4(ea1, ea2, generateScalarArrayEqns2, source, differentiated, eqKind, DAE.EQUALITY_EXPS(lhs, rhs), (1, inAccEqnLst));
    176     then (eqns, true);
    177 
    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);
    185172      ea1 = Expression.flattenArrayExpToList(e1_1);
    186173      ea2 = Expression.flattenArrayExpToList(e2_1);
Note: See TracChangeset for help on using the changeset viewer.