Commit 8cf1e778 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

Merge branch 'issue/eigen_solver_creator' into 'develop'

type in eigen solver creator corrected

See merge request spraetor/dune-amdis!57
parents 760b05b8 4fc836ba
......@@ -30,7 +30,7 @@ namespace AMDiS
using SolverBase = LinearSolverInterface<Matrix, VectorX, VectorB>;
using Scalar = typename Matrix::Scalar;
virtual std::unique_ptr<SolverBase> create(std::string const& prefix) override
virtual std::unique_ptr<SolverBase> create(std::string prefix) override
// get creator string for preconditioner
std::string precon = "no";
......@@ -62,7 +62,7 @@ namespace AMDiS
using IncompleteCholesky =
SolverCreator<Eigen::IncompleteCholesky<Scalar, Eigen::Lower|Eigen::Upper, Ordering>>;
std::unqiue_ptr<SolverBase> createIncompleteCholesky(std::string const& prefix) const
std::unique_ptr<SolverBase> createIncompleteCholesky(std::string const& prefix) const
std::string ordering = "amd";
Parameters::get(prefix + "->precon->ordering", ordering);
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