From d0f28edcca43bf59e8b77d99897d9003fd2c2073 Mon Sep 17 00:00:00 2001
From: Simon Praetorius <simon.praetorius@tu-dresden.de>
Date: Tue, 12 Mar 2019 18:11:49 +0100
Subject: [PATCH] old_olution created from dereferences shared_ptr

---
 src/amdis/ProblemInstat.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/amdis/ProblemInstat.hpp b/src/amdis/ProblemInstat.hpp
index 2542913a..92891279 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().
-- 
GitLab