From 6c895ed383daf6803958d8d942e8ac2d4babce3a Mon Sep 17 00:00:00 2001 From: sebcrozet Date: Sun, 20 May 2018 16:12:24 +0200 Subject: [PATCH] gemm: don't return early for scalar types other than f32,f64. --- src/base/blas.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/base/blas.rs b/src/base/blas.rs index b73367a5..588b2436 100644 --- a/src/base/blas.rs +++ b/src/base/blas.rs @@ -514,6 +514,7 @@ where csc as isize, ); } + return; } else if N::is::() { let (rsa, csa) = a.strides(); let (rsb, csb) = b.strides(); @@ -537,9 +538,8 @@ where csc as isize, ); } + return; } - - return; } }