Skip to content
Snippets Groups Projects
Commit ab8f709e authored by Tim Übelhör's avatar Tim Übelhör
Browse files

Exit simulation on fatal error

parent 8d5eeaf0
Branches
No related tags found
No related merge requests found
...@@ -77,7 +77,8 @@ namespace Simulation ...@@ -77,7 +77,8 @@ namespace Simulation
fmi2False); fmi2False);
if (status == fmi2Error || status == fmi2Fatal) if (status == fmi2Error || status == fmi2Fatal)
{ {
break; // Simulation no longer possible onLog(pair.first, status, "FmuEngine", "Error on DoStep. Cannot continue the simulation!");
return; // Simulation no longer possible
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment