Skip to content

Commit 05ca435

Browse files
Update env.py
1 parent eb375a8 commit 05ca435

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyRDDLGym_rl/core/env.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ def __init__(self, domain: str,
2929
enforce_action_count_non_bool: bool=True,
3030
debug_path: str=None,
3131
log_path: str=None,
32-
backend: RDDLSimulator=RDDLSimulator,
33-
backend_kwargs: typing.Dict={}):
32+
backend: typing.Type=RDDLSimulator,
33+
backend_kwargs: typing.Dict={}) -> None:
3434
'''Creates a new gym environment from the given RDDL domain + instance.
3535
3636
:param domain: the RDDL domain

0 commit comments

Comments
 (0)