mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-16 01:01:55 -06:00
relativeChange: brackets for if statement.
This commit is contained in:
parent
ebf61ed1bd
commit
ab12d95273
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user