mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
fixed: put variable under ifdef to avoid unused warnings without mpi
This commit is contained in:
@@ -228,9 +228,9 @@ namespace detail {
|
||||
|
||||
// TODO: put this for now to avoid modify the following code.
|
||||
// TODO: this code can be fragile.
|
||||
#if HAVE_MPI
|
||||
const Wells* wells_arg = asImpl().well_model_.wellsPointer();
|
||||
|
||||
#if HAVE_MPI
|
||||
if ( linsolver_.parallelInformation().type() == typeid(ParallelISTLInformation) )
|
||||
{
|
||||
const ParallelISTLInformation& info =
|
||||
|
||||
Reference in New Issue
Block a user