From 3fbc09fd020896ebc5beed27620e93426086a514 Mon Sep 17 00:00:00 2001
From: Tom Fischer <thomas.fischer@ufz.de>
Date: Thu, 18 Apr 2024 14:55:44 +0200
Subject: [PATCH] [NL/TimeStepping] Relax splitting the timestep

The treshold to not to split the timestep is relaxed
---
 NumLib/TimeStepping/Algorithms/FixedTimeStepping.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/NumLib/TimeStepping/Algorithms/FixedTimeStepping.cpp b/NumLib/TimeStepping/Algorithms/FixedTimeStepping.cpp
index 5178f8e001e..55899e6c0db 100644
--- a/NumLib/TimeStepping/Algorithms/FixedTimeStepping.cpp
+++ b/NumLib/TimeStepping/Algorithms/FixedTimeStepping.cpp
@@ -124,12 +124,12 @@ void incorporateFixedTimesForOutput(
             begin(delta_ts), begin(delta_ts) + interval_number, t_initial);
         auto const upper_bound = lower_bound + delta_ts[interval_number];
         if (fixed_time_for_output - lower_bound <=
-            std::numeric_limits<double>::epsilon())
+            TimeStep::minimalTimeStepSize)
         {
             continue;
         }
         if (upper_bound - fixed_time_for_output <=
-            std::numeric_limits<double>::epsilon())
+            TimeStep::minimalTimeStepSize)
         {
             continue;
         }
-- 
GitLab