fixed bug: re-included deepcopy
This commit is contained in:
parent
92559494d3
commit
b020d9e23f
|
|
@ -15,7 +15,7 @@ simulations/.ipynb_checkpoints
|
|||
simulations/validation/config3.py
|
||||
dist/*.gz
|
||||
cadCAD.egg-info
|
||||
|
||||
monkeytype.sqlite3
|
||||
build
|
||||
cadCAD.egg-info
|
||||
SimCAD.egg-info
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ class Executor:
|
|||
|
||||
# mech_step
|
||||
def partial_state_update(self, var_dict, sub_step, sL, state_funcs, policy_funcs, env_processes, time_step, run):
|
||||
last_in_obj = sL[-1]
|
||||
last_in_obj = deepcopy(sL[-1])
|
||||
|
||||
_input = self.policy_update_exception(self.get_policy_input(var_dict, sub_step, sL, last_in_obj, policy_funcs))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue