Skip to content

Commit

Permalink
return logError
Browse files Browse the repository at this point in the history
  • Loading branch information
arun3688 committed May 20, 2022
1 parent d9dc1c9 commit aa3bd10
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/OMSimulatorLib/SystemWC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -768,10 +768,8 @@ oms_status_enu_t oms::SystemWC::doStep()

return oms_status_ok;
}
else
return logError("Invalid solver selected");

return oms_status_error;
return logError("Invalid solver selected");
}

oms_status_enu_t oms::SystemWC::stepUntil(double stopTime)
Expand Down

0 comments on commit aa3bd10

Please sign in to comment.