Skip to content

Commit

Permalink
Merge pull request #1167 from GitPaean/fixing_petsc_compilation
Browse files Browse the repository at this point in the history
removing the unused parameter:: for LinearSolverPetsc
  • Loading branch information
atgeirr committed Jun 12, 2017
2 parents 4bab353 + 67fbac5 commit a8a46ee
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 a8a46ee

Please sign in to comment.