Skip to content

Commit 2bc49d3

Browse files
kabdelhaklochel
authored andcommitted
[BE,daeMode] add removed equations from shared
1 parent dc1348b commit 2bc49d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

OMCompiler/Compiler/BackEnd/DAEMode.mo

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ algorithm
243243
retSystem := BackendDAEUtil.createEqSystem(travArgs.newDAEVars);
244244
retSystem := BackendDAEUtil.setEqSystEqs(retSystem, travArgs.newDAEEquations);
245245
retSystem := BackendDAEUtil.setEqSystRemovedEqns(retSystem, syst.removedEqs);
246+
retSystem := BackendEquation.requationsAddDAE(ExpandableArray.toList(shared.removedEqs), retSystem);
246247

247248
if exec then execStat("DAEmode: created system: " + intString(BackendDAEUtil.systemSize(retSystem)) + ": " ); end if;
248249

0 commit comments

Comments
 (0)