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
Copy file name to clipboardExpand all lines: Compiler/BackEnd/BackendVariable.mo
+23-3Lines changed: 23 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -3633,7 +3633,7 @@ algorithm
3633
3633
local
3634
3634
DAE.Exp sub_exp;
3635
3635
list<DAE.Subscript> rest,res;
3636
-
Boolean b,const;
3636
+
Boolean b,const,calcRange;
3637
3637
3638
3638
case ({}, _) then (inSubscript,iPerformed);
3639
3639
case (DAE.WHOLEDIM()::rest, _)
@@ -3651,12 +3651,12 @@ algorithm
3651
3651
3652
3652
case (DAE.INDEX(exp = sub_exp)::rest, _)
3653
3653
equation
3654
+
(sub_exp,calcRange) = computeRangeExps(sub_exp); // the fact that if it can be calculated, we can take the wholedim is a bit weird, anyway, the whole function is weird
0 commit comments