From c709cf465e8c85947a6ee9022050771cb59db8f3 Mon Sep 17 00:00:00 2001 From: Magnus Ulimoen Date: Tue, 2 Feb 2021 00:11:41 +0100 Subject: [PATCH] remove ndarray transmute --- sbp/src/operators/algos.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sbp/src/operators/algos.rs b/sbp/src/operators/algos.rs index a6485a8..8340632 100644 --- a/sbp/src/operators/algos.rs +++ b/sbp/src/operators/algos.rs @@ -200,8 +200,9 @@ pub(crate) fn diff_op_2d_fallback, optype: OperatorType, prev: ArrayView2, - fut: ArrayViewMut2, + mut fut: ArrayViewMut2, ) { + /* Does not increase the perf... #[cfg(feature = "fast-float")] let (matrix, prev, mut fut) = unsafe { ( @@ -212,6 +213,7 @@ pub(crate) fn diff_op_2d_fallback