diff --git a/src/amdis/ProblemInstat.hpp b/src/amdis/ProblemInstat.hpp index 2542913a0519f0cf13b9cae78496301db853bc88..92891279872ea3fc351855a75a008cfdaaefa32b 100644 --- a/src/amdis/ProblemInstat.hpp +++ b/src/amdis/ProblemInstat.hpp @@ -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().