You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 18, 2019. It is now read-only.
Copy file name to clipboardExpand all lines: Compiler/BackEnd/BackendDAETransform.mo
+19-2Lines changed: 19 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -842,6 +842,8 @@ protected
842
842
list<Integer> ds;
843
843
Integer len;
844
844
list<DAE.Exp> exps;
845
+
DAE.Exp exp1;
846
+
Absyn.Ident call1, call2;
845
847
DAE.ComponentRef cr1,cr2;
846
848
list<DAE.Subscript> subs;
847
849
Integer ndim;
@@ -859,7 +861,13 @@ algorithm
859
861
ndim := listLength(ds);
860
862
len := product(i for i in ds);
861
863
true := len >0;
862
-
(DAE.CREF(componentRef=cr1)::exps) :=Expression.flattenArrayExpToList(e); // TODO: Use a better routine? We now get all expressions even if no expression is a cref...
864
+
//(DAE.CREF(componentRef=cr1)::exps) := Expression.flattenArrayExpToList(e); // TODO: Use a better routine? We now get all expressions even if no expression is a cref...
0 commit comments