Commit 865d0167 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

shared unique_ptr to shared_ptr for old_solution

parent d0f28edc
......@@ -54,7 +54,7 @@ namespace AMDiS
ProblemType const& problemStat() const { return *problemStat_; }
/// Returns const-ref of \ref oldSolution.
std::unique_ptr<SystemVector const> oldSolutionVector() const
std::shared_ptr<SystemVector const> oldSolutionVector() const
"OldSolution need to be created. Call initialize with INIT_UH_OLD.");
......@@ -81,7 +81,7 @@ namespace AMDiS
ProblemType* problemStat_;
/// Solution of the last timestep.
std::unique_ptr<SystemVector> oldSolution_;
std::shared_ptr<SystemVector> oldSolution_;
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