Skip to content

Commit ff6909b

Browse files
committed
-fix visxml for constant systems
1 parent 2fde1e4 commit ff6909b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Compiler/Util/VisualXML.mo

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,11 @@ protected
130130
BackendDAE.Variables vars;
131131
BackendDAE.EquationArray eqs;
132132
algorithm
133+
try
133134
BackendDAE.EQSYSTEM(orderedEqs=eqs, orderedVars=vars, matching=BackendDAE.MATCHING(ass1=ass1)) := eqSysIn;
134135
BackendVariable.traverseBackendDAEVarsWithUpdate(vars, setBindingForProtectedVars1, (1, ass1, eqs));
136+
else
137+
end try;
135138
eqSysOut := eqSysIn;
136139
end setBindingForProtectedVars;
137140

0 commit comments

Comments
 (0)