[arrayfire] 05/41: BUGFIX % operator uses mod instead of rem
    Ghislain Vaillant 
    ghisvail-guest at moszumanska.debian.org
       
    Mon Mar 21 14:56:21 UTC 2016
    
    
  
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/experimental
in repository arrayfire.
commit d932a6fa3946decb5d1dfa6784c114c27dd4aff2
Author: Shehzan Mohammed <shehzan at arrayfire.com>
Date:   Thu Mar 3 15:39:10 2016 -0500
    BUGFIX % operator uses mod instead of rem
---
 src/api/cpp/array.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/api/cpp/array.cpp b/src/api/cpp/array.cpp
index b993e2f..4766e75 100644
--- a/src/api/cpp/array.cpp
+++ b/src/api/cpp/array.cpp
@@ -930,7 +930,7 @@ af::dtype implicit_dtype(af::dtype scalar_type, af::dtype array_type)
     BINARY_OP(>=, af_ge)
     BINARY_OP(&&, af_and)
     BINARY_OP(||, af_or)
-    BINARY_OP(%, af_rem)
+    BINARY_OP(%, af_mod)
     BINARY_OP(&, af_bitand)
     BINARY_OP(|, af_bitor)
     BINARY_OP(^, af_bitxor)
-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arrayfire.git
    
    
More information about the debian-science-commits
mailing list