Commit 4fc836ba authored by Praetorius, Simon's avatar Praetorius, Simon

type in eigen solver creator corrected

parent e034a097
Pipeline #1420 passed with stage
in 22 minutes and 10 seconds
......@@ -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);
Markdown is supported
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