[python-arrayfire] 137/250: BUGFIX: af.display now properly displays the expression
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Mon Mar 28 22:59:41 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 0f63dbd9fa30d37ff25a2e95dcc54acca4d006ad
Author: Pavan Yalamanchili <pavan at arrayfire.com>
Date: Wed Nov 11 09:32:52 2015 -0500
BUGFIX: af.display now properly displays the expression
---
arrayfire/array.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arrayfire/array.py b/arrayfire/array.py
index 68004f9..509b0b2 100644
--- a/arrayfire/array.py
+++ b/arrayfire/array.py
@@ -1067,6 +1067,7 @@ def display(a, precision=4):
except:
pass
- safe_call(backend.get().af_print_array_gen(name, a.arr, ct.c_int(precision)))
+ safe_call(backend.get().af_print_array_gen(name.encode('utf-8'),
+ a.arr, ct.c_int(precision)))
from .algorithm import sum
--
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