[python-arrayfire] 21/250: BUGFIX: value of f32 was being overwritten

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon Mar 28 22:59:26 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/master
in repository python-arrayfire.

commit 433ba7a204bf345b3254134acc69ff5e611d9729
Author: Pavan Yalamanchili <pavan at arrayfire.com>
Date:   Mon Jun 22 13:11:53 2015 -0400

    BUGFIX: value of f32 was being overwritten
---
 arrayfire/array.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arrayfire/array.py b/arrayfire/array.py
index f20f34f..170257c 100644
--- a/arrayfire/array.py
+++ b/arrayfire/array.py
@@ -143,7 +143,7 @@ class array(object):
         return dims[:self.numdims()]
 
     def type(self):
-        dty = f32
+        dty = c_int(f32.value)
         safe_call(clib.af_get_type(pointer(dty), self.arr))
         return dty
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-arrayfire.git



More information about the debian-science-commits mailing list