removing the unused parameter:: for LinearSolverPetsc

to fix the compilation when PETsc exists.
This commit is contained in:
Kai Bao 2017-06-06 11:00:51 +02:00
parent d504715caa
commit 67fbac5c95
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();