Skip to content

Commit f07d894

Browse files
ptaeuberOpenModelica-Hudson
authored andcommitted
Fix order
1 parent 4d8f6c5 commit f07d894

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Compiler/BackEnd/Tearing.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4346,7 +4346,7 @@ algorithm
43464346
if listEmpty(unassigned) then
43474347
// save current full matching
43484348
if isNewMatching(matchingListOut,ass1Copy) then
4349-
matchingListOut := (ass1Copy,ass2Copy,order) :: matchingListOut;
4349+
matchingListOut := (ass1Copy,ass2Copy,listReverse(order)) :: matchingListOut;
43504350
end if;
43514351
end if;
43524352
else

0 commit comments

Comments
 (0)