Skip to content
Snippets Groups Projects
Commit 4fc836ba authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

type in eigen solver creator corrected

parent e034a097
No related branches found
No related tags found
Loading
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment