mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Suppress a warning in serial mode.
This commit is contained in:
parent
845de266ee
commit
fcd637896c
@ -93,9 +93,9 @@ namespace Opm
|
||||
|
||||
protected:
|
||||
template <class Iterator>
|
||||
double euclidianNormSquared( Iterator it, const Iterator end,
|
||||
int num_components=1 ) const
|
||||
double euclidianNormSquared( Iterator it, const Iterator end, int num_components = 1 ) const
|
||||
{
|
||||
static_cast<void>(num_components); // Suppress warning in the serial case.
|
||||
#if HAVE_MPI
|
||||
if ( parallel_information_.type() == typeid(ParallelISTLInformation) )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user