Skip to content

Commit 739b5da

Browse files
committed
ndarray-rand 0.1.1
1 parent 02c93b6 commit 739b5da

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

ndarray-rand/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ndarray-rand"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
authors = ["bluss"]
55
license = "MIT/Apache-2.0"
66

@@ -13,4 +13,4 @@ keywords = ["multidimensional", "matrix", "rand", "ndarray"]
1313

1414
[dependencies]
1515
rand = "0.3"
16-
ndarray = { version = ">= 0.4.4, <= 0.5.0-alpha.10", path = ".." }
16+
ndarray = { version = ">= 0.4.9, < 0.6", path = ".." }

ndarray-rand/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ impl<S, D> RandomExt<S, D> for ArrayBase<S, D>
7575
Self::random_using(dim, dist, &mut rand::weak_rng())
7676
}
7777

78+
#[allow(deprecated)] // from_vec_dim
7879
fn random_using<IdS, R>(dim: D, dist: IdS, rng: &mut R) -> ArrayBase<S, D>
7980
where IdS: IndependentSample<S::Elem>,
8081
R: Rng

0 commit comments

Comments
 (0)