Skip to content

Commit

Permalink
if the PresimulationProgramDecorator solve function fails, we now thr…
Browse files Browse the repository at this point in the history
…ow a CoreException.
  • Loading branch information
adelhpour committed Jun 30, 2024
1 parent eeea921 commit 2ff35ea
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions source/PresimulationProgramDecorator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ namespace rr {
try {
return solver_->solve();
} catch (std::exception &err) {
// can't use any err more specific since errors used
// inherited from exception
continue;
throw CoreException("SteadyStateSolver failed to solve presimulation program: ", err.what());
}
}
}
Expand Down

0 comments on commit 2ff35ea

Please sign in to comment.