Skip to content

Commit

Permalink
fix: remove leftover debug messages. update version for re-publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhys Newell committed Nov 26, 2022
1 parent 189a3ba commit 14950db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fftconvolve"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
authors = ["Rhys JP Newell <rhys.newell94 at gmail.com>"]
license-file = "LICENSE"
Expand All @@ -15,8 +15,8 @@ categories = ["mathematics", "science"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
ndarray = "0.15.6"
ndarray-linalg = "0.16.0"
num-traits = "0.2.14"
num = "0.4.0"
easyfft = "0.2.3"
ndarray = "^0.15"
ndarray-linalg = "^0.16"
num-traits = "^0.2"
num = "^0.4"
easyfft = "^0.2"
2 changes: 0 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,6 @@ where
let out_shape = Array::from_vec(arr.shape().into_iter().map(|a| *a as isize).collect::<Vec<_>>());
let startind = (out_shape.to_owned() - s1.to_owned()) / 2;
let endind = startind.clone() + s1;
println!("{:?}", startind);
println!("{:?}", endind);
(0..endind.len()).into_iter().for_each(|axis| {
arr.slice_axis_inplace(Axis(axis), Slice::new(startind[axis] as isize, Some(endind[axis] as isize), 1));
});
Expand Down

0 comments on commit 14950db

Please sign in to comment.