Skip to content
Snippets Groups Projects
Commit 9b0ff603 authored by Mark OLESEN's avatar Mark OLESEN Committed by Andrew Heather
Browse files

STYLE: simplify return statement

parent e990c48b
No related branches found
No related tags found
No related merge requests found
...@@ -952,7 +952,7 @@ bool Foam::Time::stopAt(const stopAtControls stopCtrl) const ...@@ -952,7 +952,7 @@ bool Foam::Time::stopAt(const stopAtControls stopCtrl) const
bool Foam::Time::isAdjustTimeStep() const bool Foam::Time::isAdjustTimeStep() const
{ {
return controlDict_.lookupOrDefault("adjustTimeStep", false) ? true : false; return controlDict_.lookupOrDefault("adjustTimeStep", false);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment