From c1eb06e102f4598efee7f766bf0142653f8c8f73 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sun, 29 Apr 2018 14:40:12 +0200 Subject: [PATCH] Update common_x86_64.h --- common_x86_64.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common_x86_64.h b/common_x86_64.h index 0542653a1..a145abc14 100644 --- a/common_x86_64.h +++ b/common_x86_64.h @@ -196,7 +196,10 @@ static __inline int blas_quickdivide(unsigned int x, unsigned int y){ if (y <= 1) return x; - if (y > 64) return x/y; + if (y > 64) { + result = x / y; + return result; + } y = blas_quick_divide_table[y];