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

shared unique_ptr to shared_ptr for old_solution

parent d0f28edc
Branches
Tags
No related merge requests found
......@@ -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
{
test_exit_dbg(bool(oldSolution_),
"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_;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment