Merge pull request #1167 from GitPaean/fixing_petsc_compilation

removing the unused parameter:: for LinearSolverPetsc
This commit is contained in:
Atgeirr Flø Rasmussen 2017-06-12 11:12:45 +02:00 committed by GitHub
commit 8a2cf4fd2d
2 changed files with 2 additions and 2 deletions

View File

@ -228,7 +228,7 @@ namespace{
} // anonymous namespace.
LinearSolverPetsc::LinearSolverPetsc(const parameter::ParameterGroup& param)
LinearSolverPetsc::LinearSolverPetsc(const ParameterGroup& param)
: ksp_type_( param.getDefault( std::string( "ksp_type" ), std::string( "gmres" ) ) )
, pc_type_( param.getDefault( std::string( "pc_type" ), std::string( "sor" ) ) )
, ksp_view_( param.getDefault( std::string( "ksp_view" ), int( false ) ) )

View File

@ -42,7 +42,7 @@ namespace Opm
/// Construct from parameters
/// Accepted parameters are, with defaults, listed in the
/// default constructor.
LinearSolverPetsc(const parameter::ParameterGroup& param);
LinearSolverPetsc(const ParameterGroup& param);
/// Destructor.
virtual ~LinearSolverPetsc();