Skip to content
This repository was archived by the owner on May 18, 2019. It is now read-only.

Commit bab4ecd

Browse files
vwaurichOpenModelica-Hudson
authored andcommitted
fix evalOutputOnly
Belonging to [master]: - #2583
1 parent 9d2a05f commit bab4ecd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Compiler/BackEnd/BackendDAEOptimize.mo

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5852,6 +5852,7 @@ algorithm
58525852
tasks := List.sort(listAppend(predecessors,listAppend(outputTasks,stateTasks)),intGt);
58535853
//print("predecessors of outputs and states "+stringDelimitList(List.map(tasks,intString),", ")+"\n");
58545854
compsNew := List.map1(tasks,List.getIndexFirst,comps);
5855+
compsNew := List.unique(compsNew);
58555856
print("There have been "+intString(listLength(comps))+" SCCs and now there are "+intString(listLength(compsNew))+" SCCs.\n");
58565857

58575858
//get vars and equations from the new reduced set of comps and make a equationIdxMap

0 commit comments

Comments
 (0)