We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dab92a commit 8aa5dd8Copy full SHA for 8aa5dd8
ndarray-rand/src/lib.rs
@@ -64,7 +64,7 @@ pub mod rand_distr
64
/// Note that `SmallRng` is cheap to initialize and fast, but it may generate
65
/// low-quality random numbers, and reproducibility is not guaranteed. See its
66
/// documentation for information. You can select a different RNG with
67
-/// [`.random_using()`](Self::random_using).
+/// [`.random_using()`](RandomExt::random_using).
68
pub trait RandomExt<S, A, D>
69
where
70
S: RawData<Elem = A>,
@@ -306,7 +306,7 @@ where
306
S: Data<Elem = A>,
307
D: RemoveAxis,
308
{
309
- (&**self).sample_axis_using(axis, n_samples, strategy, rng)
+ (**self).sample_axis_using(axis, n_samples, strategy, rng)
310
}
311
312
0 commit comments