Skip to content

Commit

Permalink
fix: try switching to Array vendored by numpy crate
Browse files Browse the repository at this point in the history
  • Loading branch information
ManonMarchand committed Oct 15, 2024
1 parent 271e8aa commit 8100f1e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
use std::{f64::consts::FRAC_PI_3, ops::Range};

use ndarray::Array;
#[cfg(not(target_arch = "wasm32"))]
use num_threads::num_threads;
use numpy::{
IntoPyArray, Ix2, Ix3, PyArray1, PyArray2, PyArray3, PyArrayDyn, PyArrayMethods,
PyReadonlyArray1, PyReadonlyArray2, PyReadonlyArrayDyn, PyUntypedArrayMethods,
};
use numpy::ndarray::Array;

use pyo3::{
exceptions::{PyIOError, PyValueError},
prelude::{pymodule, Bound, PyModule, PyResult, Python},
Expand Down

0 comments on commit 8100f1e

Please sign in to comment.