File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -865,7 +865,7 @@ algorithm
865865 (exp1::exps) := Expression . flattenArrayExpToList(e);
866866 (cr1, call1) := match exp1
867867 case DAE . CREF (componentRef= cr1) then (cr1, "" );
868- case DAE . CALL (path= Absyn . IDENT (name= call1 ), expLst= {DAE . CREF (componentRef= cr1)}) then (cr1, call1 );
868+ case DAE . CALL (path= Absyn . IDENT (name= "previous" ), expLst= {DAE . CREF (componentRef= cr1)}) then (cr1, "previous" );
869869 else fail();
870870 end match;
871871 // Check that the first element starts at index [1,...,1]
@@ -881,7 +881,7 @@ algorithm
881881 // DAE.CREF(componentRef=cr2) := exp;
882882 (cr2, call2) := match exp
883883 case DAE . CREF (componentRef= cr2) then (cr2, "" );
884- case DAE . CALL (path= Absyn . IDENT (name= call2 ), expLst= {DAE . CREF (componentRef= cr2)}) then (cr2, call2 );
884+ case DAE . CALL (path= Absyn . IDENT (name= "previous" ), expLst= {DAE . CREF (componentRef= cr2)}) then (cr2, "previous" );
885885 else fail();
886886 end match;
887887 true := ndim== listLength(ComponentReference . crefLastSubs(cr2));
You can’t perform that action at this time.
0 commit comments