Skip to content

Commit

Permalink
Update env.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-gimelfarb committed Jul 1, 2024
1 parent eb375a8 commit 05ca435
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyRDDLGym_rl/core/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ def __init__(self, domain: str,
enforce_action_count_non_bool: bool=True,
debug_path: str=None,
log_path: str=None,
backend: RDDLSimulator=RDDLSimulator,
backend_kwargs: typing.Dict={}):
backend: typing.Type=RDDLSimulator,
backend_kwargs: typing.Dict={}) -> None:
'''Creates a new gym environment from the given RDDL domain + instance.
:param domain: the RDDL domain
Expand Down

0 comments on commit 05ca435

Please sign in to comment.