File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ crate-type = ["cdylib"]
11
11
[dependencies ]
12
12
pyo3 = { version = " 0.21.0" , features = [" extension-module" , " multiple-pymethods" ] }
13
13
numpy = { path = " ../.." }
14
- ndarray = { version = " 0.15 " , features = [" rayon" , " blas" ] }
14
+ ndarray = { version = " 0.16 " , features = [" rayon" , " blas" ] }
15
15
blas-src = { version = " 0.8" , features = [" openblas" ] }
16
16
openblas-src = { version = " 0.10" , features = [" cblas" , " system" ] }
17
17
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ fn rust_ext<'py>(m: &Bound<'py, PyModule>) -> PyResult<()> {
107
107
#[ allow( deprecated) ]
108
108
Zip :: from ( x. as_array_mut ( ) )
109
109
. and ( y. as_array ( ) )
110
- . apply ( |x, y| * x = ( i64:: from ( * x) + 60 * i64:: from ( * y) ) . into ( ) ) ;
110
+ . for_each ( |x, y| * x = ( i64:: from ( * x) + 60 * i64:: from ( * y) ) . into ( ) ) ;
111
111
}
112
112
113
113
// This crate follows a strongly-typed approach to wrapping NumPy arrays
You can’t perform that action at this time.
0 commit comments