Skip to content

Commit

Permalink
fixed bug and compat
Browse files Browse the repository at this point in the history
  • Loading branch information
KohlerHECTOR committed Jul 15, 2024
1 parent 22bfdb1 commit 7478768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interpreter/interpreter.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def __init__(self, oracle, tree_policy, env, data_per_iter=5000, **kwargs):
isinstance(tree_policy, DTPolicy)
or isinstance(tree_policy, ObliqueDTPolicy)
)
super().__init__(env=env, **kwargs)
AgentWithSimplePolicy.__init__(self, env, **kwargs)
if not isinstance(self.eval_env, Monitor):
self.eval_env = Monitor(self.eval_env)
self._oracle = oracle
Expand Down

0 comments on commit 7478768

Please # to comment.