slim down beerpong constructor further. Not sure, if we should merge the reward into the environment class.

This commit is contained in:
Onur
2022-07-04 19:14:31 +02:00
parent d80df03145
commit 4dc33b0e97
4 changed files with 21 additions and 27 deletions
+1
View File
@@ -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