From 5313fa447cdb15d07ff10eacf156c3c80e1c74bf Mon Sep 17 00:00:00 2001 From: Daniel Weindl Date: Tue, 2 Jan 2024 19:15:25 +0100 Subject: [PATCH] ? --- include/amici/solver.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/amici/solver.h b/include/amici/solver.h index 120a963ba4..4a1c95b96a 100644 --- a/include/amici/solver.h +++ b/include/amici/solver.h @@ -48,7 +48,8 @@ class Solver { public: /** Type of what is passed to Sundials solvers as user_data */ using user_data_type = std::pair; - + /** Type of the function to free a raw sundials solver pointer */ + using free_solver_ptr = std::function; /** * @brief Default constructor */ @@ -1608,10 +1609,10 @@ class Solver { void applySensitivityTolerances() const; /** pointer to solver memory block */ - mutable std::unique_ptr> solver_memory_; + mutable std::unique_ptr solver_memory_; /** pointer to solver memory block */ - mutable std::vector>> + mutable std::vector> solver_memory_B_; /** Sundials user_data */