Skip to content

Commit bd4e1a8

Browse files
committed
rand_distr: Fix UnitBall docs
1 parent 0b966eb commit bd4e1a8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

rand_distr/src/unit_ball.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ use rand::Rng;
1010
use crate::{Distribution, Uniform, uniform::SampleUniform};
1111
use crate::utils::Float;
1212

13-
/// Samples uniformly from the surface of the unit sphere in three dimensions.
13+
/// Samples uniformly from the unit ball (surface and interior) in three
14+
/// dimensions.
1415
///
15-
/// Implemented via a rejection sampling.
16+
/// Implemented via rejection sampling.
1617
///
1718
///
1819
/// # Example

0 commit comments

Comments
 (0)