Commit 4eed66b1 authored by lh1887's avatar lh1887
Browse files

Adapt to upstream dune-solvers changes

parent 441b0ac6
Pipeline #6947 failed with stage
in 2 minutes and 2 seconds
......@@ -152,8 +152,8 @@ public:
auto iterativeSolver = std::dynamic_pointer_cast<Solvers::IterativeSolver<typename Linearization::ConstrainedVector> >(linearSolver_);
if (iterativeSolver)
linearIterationStep = dynamic_cast<LinearIterationStepType*>(iterativeSolver->iterationStep_);
linearIterationStep = dynamic_cast<LinearIterationStepType*>(&(iterativeSolver->getIterationStep()));
} else
DUNE_THROW(Exception, "Linear solver has to be an IterativeSolver!");
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