Commit d0f28edc authored by Praetorius, Simon's avatar Praetorius, Simon

old_olution created from dereferences shared_ptr

parent fdf7beae
......@@ -66,7 +66,7 @@ namespace AMDiS
auto oldSolution(TreePath path = {}) const
{
auto&& tp = makeTreePath(path);
return makeDiscreteFunction(oldSolutionVector(), tp);
return makeDiscreteFunction(*oldSolutionVector(), tp);
}
/// Implementation of \ref ProblemTimeInterface::transferInitialSolution().
......
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