Skip to content

Commit 3f6bf6c

Browse files
author
Jens Frenkel
committed
- bugfix for last commit
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@14039 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent 03c3955 commit 3f6bf6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Compiler/BackEnd/IndexReduction.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,8 @@ algorithm
310310
statemark := arrayCreate(size,-1);
311311
// check over all mss
312312
unassignedEqns := List.flatten(inEqnsLst);
313-
((unassignedEqns,outEqnsLst,discEqns)) := List.fold2(unassignedEqns,unassignedContinuesEqns,vars,(inAssignments2,m),({},{},{}));
314313
outStateIndxs := List.fold2(unassignedEqns,statesInEquations,(m,statemark,0),inAssignments1,{});
314+
((unassignedEqns,outEqnsLst,discEqns)) := List.fold2(unassignedEqns,unassignedContinuesEqns,vars,(inAssignments2,m),({},{},{}));
315315
b := intGe(listLength(outStateIndxs),listLength(unassignedEqns));
316316
// check each mss
317317
(b,outEqnsLst,outStateIndxs,discEqns) := minimalStructurallySingularSystem1(b,inEqnsLst,inAssignments1,inAssignments2,statemark,1,m,vars,outEqnsLst,outStateIndxs,discEqns);

0 commit comments

Comments
 (0)