Skip to content

Commit b2e9f29

Browse files
authored
[Doc] Fix typo in torchrl/modules/distributions/continuous.py (#2624)
1 parent c72583f commit b2e9f29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchrl/modules/distributions/continuous.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ def get_mode(self):
554554
def mean(self):
555555
raise NotImplementedError(
556556
f"{type(self).__name__} does not have a closed form formula for the average. "
557-
"Am estimate of this value can be computed using dist.sample((N,)).mean(dim=0), "
557+
"An estimate of this value can be computed using dist.sample((N,)).mean(dim=0), "
558558
"where N is a large number of samples."
559559
)
560560

0 commit comments

Comments
 (0)