[python-arrayfire] 192/250: Fixing bug in get_version()
    Ghislain Vaillant 
    ghisvail-guest at moszumanska.debian.org
       
    Mon Mar 28 22:59:47 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 c5fbdda627d6fd863ef2205373221f3d65b120dc
Author: Pavan Yalamanchili <pavan at arrayfire.com>
Date:   Mon Dec 14 17:58:34 2015 -0500
    Fixing bug in get_version()
---
 arrayfire/util.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arrayfire/util.py b/arrayfire/util.py
index 361cadb..a20002c 100644
--- a/arrayfire/util.py
+++ b/arrayfire/util.py
@@ -79,7 +79,7 @@ def get_version():
     minor=ct.c_int(0)
     patch=ct.c_int(0)
     safe_call(backend.get().af_get_version(ct.pointer(major), ct.pointer(minor), ct.pointer(patch)))
-    return major,minor,patch
+    return major.value,minor.value,patch.value
 
 to_dtype = {'f' : Dtype.f32,
             'd' : Dtype.f64,
-- 
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