Merge pull request #304 from blattms/parallel-info-by-value

Store the boost::any of ParallelIstlInformation by value. (Alternative to #303)
This commit is contained in:
Atgeirr Flø Rasmussen 2015-02-12 14:48:46 +01:00
commit eea8bb23a9
2 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,7 @@ namespace Opm
unsigned int cpr_ilu_n_;
bool cpr_use_amg_;
bool cpr_use_bicgstab_;
const boost::any& parallelInformation_;
boost::any parallelInformation_;
};
} // namespace Opm

View File

@ -61,7 +61,7 @@ namespace Opm
private:
std::unique_ptr<LinearSolverInterface> linsolver_;
mutable int iterations_;
const boost::any& parallelInformation_;
boost::any parallelInformation_;
};
} // namespace Opm