Skip to content

Commit 3c53197

Browse files
committed
doc
1 parent 937cae1 commit 3c53197

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/non_episodic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ end
3939
run(agent, env, stop_condition, hook, MyCondition(ResetAfterNSteps(10000)))
4040
```
4141

42-
A last possibility is to use an anonymous function. For example here is alternative way to implement ResetAtTerminal:
42+
A last possibility is to use an anonymous function. This approach cannot be used to implement stateful conditions (such as `ResetAfterNSteps`). For example here is alternative way to implement `ResetAtTerminal`:
4343

4444
```julia
4545
run(agent, env, stop_condition, hook, (p,e) -> is_terminated(e))

0 commit comments

Comments
 (0)