relativeChange: brackets for if statement.

This commit is contained in:
Robert Kloefkorn
2015-11-10 10:07:57 -07:00
parent ebf61ed1bd
commit ab12d95273

View File

@@ -2417,11 +2417,13 @@ namespace detail {
current.numPhases(), current.numPhases(),
linsolver_.parallelInformation() ); linsolver_.parallelInformation() );
if( stateNew > 0.0 ) if( stateNew > 0.0 ) {
return stateOld / stateNew ; return stateOld / stateNew ;
else }
else {
return 0.0; return 0.0;
} }
}
template <class Grid, class Implementation> template <class Grid, class Implementation>
double double