Skip to content

Commit 45bd3c0

Browse files
Fix (#3180)
1 parent 5661db7 commit 45bd3c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchrl/modules/distributions/discrete.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def rsample(self, sample_shape: torch.Size | Sequence = None) -> torch.Tensor:
172172
)
173173

174174

175-
class (D.Categorical):
175+
class MaskedCategorical(D.Categorical):
176176
"""MaskedCategorical distribution.
177177
178178
Reference:

0 commit comments

Comments
 (0)