Skip to content

Commit 3befced

Browse files
Chris Elionphilippds
andauthored
Masking Discrete Actions typos (#4961) (#4964)
Co-authored-by: Philipp Siedler <p.d.siedler@gmail.com>
1 parent 68fa146 commit 3befced

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/Learning-Environment-Design-Agents.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ decide to perform the masked action. In order to mask an action, override the
623623
```csharp
624624
public override void WriteDiscreteActionMask(IDiscreteActionMask actionMask)
625625
{
626-
actionMasker.WriteMask(branch, actionIndices)
626+
actionMask.WriteMask(branch, actionIndices);
627627
}
628628
```
629629

@@ -641,7 +641,7 @@ nothing"_ or _"change weapon"_ for his next decision (since action index 1 and 2
641641
are masked)
642642

643643
```csharp
644-
WriteMask(0, new int[2]{1,2})
644+
WriteMask(0, new int[2]{1,2});
645645
```
646646

647647
Notes:

0 commit comments

Comments
 (0)