diff --git a/Cargo.toml b/Cargo.toml index 35a85cf..78aa7e6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ rust-version = "1.84" [dependencies] byteorder = "1.3.2" -ndarray = "0.16" +ndarray = "0.17.1" num-complex-0_4 = { package = "num-complex", version = "0.4", optional = true } num-traits = "0.2" py_literal = "0.4" diff --git a/src/npy/mod.rs b/src/npy/mod.rs index 7f3f0ca..cb89692 100644 --- a/src/npy/mod.rs +++ b/src/npy/mod.rs @@ -60,7 +60,7 @@ where pub fn write_npy
(path: P, array: &T) -> Result<(), WriteNpyError>
where
P: AsRef
+impl WriteNpyExt for ArrayRef
where
A: WritableElement,
- S: Data
+where
+ A: WritableElement,
+ S: Data,
- ) -> Result<(), WriteNpzError>
+ pub fn add_array