mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: simplify return statement
This commit is contained in:
committed by
Andrew Heather
parent
e990c48bee
commit
9b0ff60320
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user