Merge pull request #937 from akva2/quell_warnings

Quell some compiler warnings
This commit is contained in:
Atgeirr Flø Rasmussen 2016-11-21 11:11:46 +01:00 committed by GitHub
commit 95cc415fba
2 changed files with 1 additions and 2 deletions

View File

@ -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 =

View File

@ -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();