Skip to content

Commit

Permalink
Add more types to the dmc space converter.
Browse files Browse the repository at this point in the history
  • Loading branch information
ikostrikov2 committed Nov 24, 2021
1 parent f8e5ed2 commit 8bc49fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jaxrl/wrappers/dmc_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


def dmc_spec2gym_space(spec):
if isinstance(spec, OrderedDict):
if isinstance(spec, OrderedDict) or isinstance(spec, dict):
spec = copy.copy(spec)
for k, v in spec.items():
spec[k] = dmc_spec2gym_space(v)
Expand Down

0 comments on commit 8bc49fc

Please sign in to comment.