From c0c502c3ff3e3a08bbb57b435b70d6dadf54cfeb Mon Sep 17 00:00:00 2001
From: Jean-Marco Alameddine <jean-marco.alameddine@tu-dortmund.de>
Date: Thu, 25 May 2023 12:20:49 +0200
Subject: [PATCH] Adapt condition in `SwitchProcessSequence` similar to !507

---
 corsika/detail/framework/process/SwitchProcessSequence.inl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/corsika/detail/framework/process/SwitchProcessSequence.inl b/corsika/detail/framework/process/SwitchProcessSequence.inl
index 05b72c0c5..0fbe23aac 100644
--- a/corsika/detail/framework/process/SwitchProcessSequence.inl
+++ b/corsika/detail/framework/process/SwitchProcessSequence.inl
@@ -403,7 +403,7 @@ namespace corsika {
         }
 
         // check if we should execute THIS process and then EXIT
-        if (cx_select <= cx_sum) {
+        if (cx_select < cx_sum) {
 
           if constexpr (has_signature_cx1) {
 
-- 
GitLab