Skip to content
Snippets Groups Projects
Commit d711f223 authored by Christian Engwer's avatar Christian Engwer
Browse files

[fix][factory] bugfix solver factory, fix call to scalarproduct factory

parent 82ee83d1
Branches
Tags
No related merge requests found
......@@ -297,7 +297,7 @@ namespace Dune {
const COMM& comm)
{
// Create suitable scalar product
auto scalarproduct = ScalarProductChooser::construct<X> (preconditioner->category(), comm);
auto scalarproduct = createScalarProduct<X>(comm, preconditioner->category());
if (id == "BiCGSTABSolver")
return std::make_shared<BiCGSTABSolver<X> > (linearoperator, scalarproduct, preconditioner, configuration);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment