From 6dc70f79414ded94e88755755ffa1c1d16509d9d Mon Sep 17 00:00:00 2001 From: ntfrgl Date: Sun, 9 Aug 2015 00:06:32 +0200 Subject: Possible fix for #141 --- packages/base/src/Internal/C/vector-aux.c | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'packages/base/src/Internal/C/vector-aux.c') diff --git a/packages/base/src/Internal/C/vector-aux.c b/packages/base/src/Internal/C/vector-aux.c index 5528a9d..a52b969 100644 --- a/packages/base/src/Internal/C/vector-aux.c +++ b/packages/base/src/Internal/C/vector-aux.c @@ -716,16 +716,6 @@ int mapValF(int code, float* pval, KFVEC(x), FVEC(r)) { } } -inline -int mod (int a, int b) { - int m = a % b; - if (b>0) { - return m >=0 ? m : m+b; - } else { - return m <=0 ? m : m+b; - } -} - int mapValI(int code, int* pval, KIVEC(x), IVEC(r)) { int k; int val = *pval; @@ -742,16 +732,6 @@ int mapValI(int code, int* pval, KIVEC(x), IVEC(r)) { } } -inline -int64_t mod_l (int64_t a, int64_t b) { - int64_t m = a % b; - if (b>0) { - return m >=0 ? m : m+b; - } else { - return m <=0 ? m : m+b; - } -} - int mapValL(int code, int64_t* pval, KLVEC(x), LVEC(r)) { int k; int64_t val = *pval; -- cgit v1.2.3