slim down beerpong constructor further. Not sure, if we should merge the reward into the environment class.
This commit is contained in:
@@ -46,3 +46,4 @@ def nested_update(base: MutableMapping, update):
|
||||
"""
|
||||
for k, v in update.items():
|
||||
base[k] = nested_update(base.get(k, {}), v) if isinstance(v, Mapping) else v
|
||||
|
||||
|
||||
Reference in New Issue
Block a user