Skip to content

Commit

Permalink
removing the unused parameter:: for LinearSolverPetsc
Browse files Browse the repository at this point in the history
to fix the compilation when PETsc exists.
  • Loading branch information
GitPaean committed Jun 6, 2017
1 parent d504715 commit 67fbac5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion opm/core/linalg/LinearSolverPetsc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) ) )
Expand Down
2 changes: 1 addition & 1 deletion opm/core/linalg/LinearSolverPetsc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 67fbac5

Please sign in to comment.