From 14950db16ae53a7c108d6caa104300726b3e2b29 Mon Sep 17 00:00:00 2001 From: Rhys Newell Date: Sat, 26 Nov 2022 10:55:12 +0000 Subject: [PATCH] fix: remove leftover debug messages. update version for re-publish --- Cargo.toml | 12 ++++++------ src/lib.rs | 2 -- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index aaeacb9..eee7598 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fftconvolve" -version = "0.1.0" +version = "0.1.1" edition = "2021" authors = ["Rhys JP Newell "] license-file = "LICENSE" @@ -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" diff --git a/src/lib.rs b/src/lib.rs index 9f9f67c..7f560d3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -202,8 +202,6 @@ where let out_shape = Array::from_vec(arr.shape().into_iter().map(|a| *a as isize).collect::>()); 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)); });