Skip to content

Commit e7ad817

Browse files
magnusuMETdavidhewitt
authored andcommitted
Replace deprecated method call
1 parent 290b045 commit e7ad817

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ nalgebra = { version = "0.32", default-features = false, optional = true }
2121
num-complex = ">= 0.2, < 0.5"
2222
num-integer = "0.1"
2323
num-traits = "0.2"
24-
ndarray = ">= 0.13, < 0.17"
24+
ndarray = "0.16"
2525
pyo3 = { version = "0.21.0", default-features = false, features = ["macros"] }
2626
rustc-hash = "1.1"
2727

src/slice_container.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ where
6969
D: Dimension,
7070
{
7171
fn from(data: ArrayBase<OwnedRepr<A>, D>) -> Self {
72-
Self::from(data.into_raw_vec())
72+
Self::from(data.into_raw_vec_and_offset().0)
7373
}
7474
}
7575

0 commit comments

Comments
 (0)