Commit 853b343b authored by oliver.sander_at_tu-dresden.de's avatar oliver.sander_at_tu-dresden.de
Browse files

Avoid a compiler warning

parent 97c230d1
......@@ -61,11 +61,11 @@ void solveProblem(const MatrixType& mat, VectorType& x, const VectorType& rhs, c
using NonlinearSmoother = Dune::TNNMG::NonlinearGSStep<Functional, decltype(localSolver), BitVector>;
auto nonlinearSmoother = std::make_shared<NonlinearSmoother>(J, x, localSolver);
auto smoother = TruncatedBlockGSStep<Matrix, Vector>{};
auto smoother = std::make_shared<TruncatedBlockGSStep<Matrix, Vector> >();
auto linearMultigridStep = std::make_shared<Dune::Solvers::MultigridStep<Matrix, Vector> >();
linearMultigridStep->setMGType(1, 3, 3);
linearMultigridStep->setSmoother(&smoother);
linearMultigridStep->setSmoother(smoother);
linearMultigridStep->setTransferOperators(transfer);
using Linearization = Dune::TNNMG::BoxConstrainedQuadraticFunctionalConstrainedLinearization<Functional, BitVector>;
......
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