mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
relativeChange: brackets for if statement.
This commit is contained in:
@@ -2417,11 +2417,13 @@ namespace detail {
|
||||
current.numPhases(),
|
||||
linsolver_.parallelInformation() );
|
||||
|
||||
if( stateNew > 0.0 )
|
||||
if( stateNew > 0.0 ) {
|
||||
return stateOld / stateNew ;
|
||||
else
|
||||
}
|
||||
else {
|
||||
return 0.0;
|
||||
}
|
||||
}
|
||||
|
||||
template <class Grid, class Implementation>
|
||||
double
|
||||
|
||||
Reference in New Issue
Block a user