Commit 2c8989b6 authored by Mark Olesen's avatar Mark Olesen
Browse files

STYLE: simplify return statement

parent 9c6fa79a
......@@ -952,7 +952,7 @@ bool Foam::Time::stopAt(const stopAtControls stopCtrl) 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