From 7a8d35124d39fac22c5289aa7efce07ae35ae7dd Mon Sep 17 00:00:00 2001
From: Daniel Weindl <daniel.weindl@helmholtz-munich.de>
Date: Mon, 4 Dec 2023 10:51:23 +0100
Subject: [PATCH] ..

---
 include/amici/model_ode.h | 3 +--
 src/forwardproblem.cpp    | 7 ++++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/include/amici/model_ode.h b/include/amici/model_ode.h
index 85ef35ac87..e03e1867d1 100644
--- a/include/amici/model_ode.h
+++ b/include/amici/model_ode.h
@@ -49,8 +49,7 @@ class Model_ODE : public Model {
         std::vector<int> const& z2event, bool const pythonGenerated = false,
         int const ndxdotdp_explicit = 0, int const ndxdotdx_explicit = 0,
         int const w_recursion_depth = 0,
-        std::map<realtype, std::vector<int>> state_independent_events
-        = {}
+        std::map<realtype, std::vector<int>> state_independent_events = {}
     )
         : Model(
             model_dimensions, simulation_parameters, o2mode, idlist, z2event,
diff --git a/src/forwardproblem.cpp b/src/forwardproblem.cpp
index 828826eeba..50281c9188 100644
--- a/src/forwardproblem.cpp
+++ b/src/forwardproblem.cpp
@@ -128,9 +128,10 @@ void ForwardProblem::workForwardProblem() {
             while (t_ < next_t_out) {
                 // next stop time is either next output timepoint or next
                 // time-triggered event
-                auto next_t_event = it_trigger_timepoints != trigger_timepoints.end()
-                                        ? *it_trigger_timepoints
-                                        : std::numeric_limits<realtype>::infinity();
+                auto next_t_event
+                    = it_trigger_timepoints != trigger_timepoints.end()
+                          ? *it_trigger_timepoints
+                          : std::numeric_limits<realtype>::infinity();
                 auto next_t_stop = std::min(next_t_out, next_t_event);
                 int status = solver->run(next_t_stop);