From eaf2f4d291cb2789278ca1faf4b44a159af68b1e Mon Sep 17 00:00:00 2001 From: Markus Date: Tue, 12 Feb 2019 15:59:43 -0200 Subject: [PATCH] change the env_proc trigger from `timestamp` to `timestep` This achieves the same results without requiring `timestamp` to be a mandatory state variable --- SimCAD/engine/simulation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SimCAD/engine/simulation.py b/SimCAD/engine/simulation.py index 7132d8f..0b75bf4 100644 --- a/SimCAD/engine/simulation.py +++ b/SimCAD/engine/simulation.py @@ -41,7 +41,7 @@ class Executor: del last_in_obj - self.apply_env_proc(env_processes, last_in_copy, last_in_copy['timestamp']) + self.apply_env_proc(env_processes, last_in_copy, last_in_copy['timestep']) last_in_copy["substep"], last_in_copy["timestep"], last_in_copy['run'] = m_step, t_step, run sL.append(last_in_copy)