Commit 59f9d1e8 authored by malossi's avatar malossi
Browse files

Removed a warning and made a method virtual.

parent a3f5a3d7
......@@ -68,7 +68,7 @@ EpetraPreconditioner::getList() const
return M_List;
}
const int
const int&
EpetraPreconditioner::getOverlapLevel() const
{
return M_overlapLevel;
......
......@@ -99,7 +99,11 @@ public:
virtual prec_raw_type* getPrec() = 0;
//std::string precType() { return M_precType; }
//! Return the type name of the preconditioner.
/*!
* @return type of the preconditioner
*/
virtual std::string precType() = 0;
virtual int buildPreconditioner(operator_type& A) = 0;
......@@ -115,7 +119,7 @@ public:
void setList(Teuchos::ParameterList list);
const Teuchos::ParameterList& getList() const;
const int getOverlapLevel() const;
const int& getOverlapLevel() const;
protected:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment