Commit 9b0ff603 authored by Mark Olesen's avatar Mark Olesen Committed by Andrew Heather
Browse files

STYLE: simplify return statement

parent e990c48b
...@@ -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);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment