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

old_olution created from dereferences shared_ptr

parent fdf7beae
No related branches found
No related tags found
No related merge requests found
...@@ -66,7 +66,7 @@ namespace AMDiS ...@@ -66,7 +66,7 @@ namespace AMDiS
auto oldSolution(TreePath path = {}) const auto oldSolution(TreePath path = {}) const
{ {
auto&& tp = makeTreePath(path); auto&& tp = makeTreePath(path);
return makeDiscreteFunction(oldSolutionVector(), tp); return makeDiscreteFunction(*oldSolutionVector(), tp);
} }
/// Implementation of \ref ProblemTimeInterface::transferInitialSolution(). /// Implementation of \ref ProblemTimeInterface::transferInitialSolution().
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment