From 652039308dd5c4ad9cdb84fe11957b30d3d84e24 Mon Sep 17 00:00:00 2001 From: Alan Coleman <alanc@udel.edu> Date: Wed, 29 Nov 2023 19:03:28 +0100 Subject: [PATCH] fix overflow issue --- corsika/framework/process/StackProcess.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/corsika/framework/process/StackProcess.hpp b/corsika/framework/process/StackProcess.hpp index 756939604..daf530dec 100644 --- a/corsika/framework/process/StackProcess.hpp +++ b/corsika/framework/process/StackProcess.hpp @@ -62,7 +62,7 @@ namespace corsika { static bool const is_stack_process = true; //! return the current Cascade step counter - int getStep() const { return iStep_; } + auto getStep() const { return iStep_; } //! check if current step is where StackProcess should be executed, this also //! increases the internal step counter implicitly -- GitLab