mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #937 from akva2/quell_warnings
Quell some compiler warnings
This commit is contained in:
commit
95cc415fba
@ -162,9 +162,9 @@ typedef Eigen::Array<double,
|
||||
|
||||
// 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 =
|
||||
|
@ -404,7 +404,6 @@ namespace Opm
|
||||
|
||||
// write all cell data registered in local state
|
||||
for (const auto& pair : localCellData_) {
|
||||
const std::string& key = pair.first;
|
||||
const auto& data = pair.second.data;
|
||||
const size_t stride = data.size()/localState_.numCells();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user