Suppress a warning in serial mode.

This commit is contained in:
Atgeirr Flø Rasmussen 2015-05-27 11:41:52 +02:00
parent 0a8a1b687c
commit 06e7286443

View File

@ -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) )
{