change the env_proc trigger from `timestamp` to `timestep`

This achieves the same results without requiring `timestamp` to be a mandatory state variable
This commit is contained in:
Markus 2019-02-12 15:59:43 -02:00
parent 011e322706
commit eaf2f4d291
1 changed files with 1 additions and 1 deletions

View File

@ -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)