[python-arrayfire] 233/250: RuntimeError now prints the proper error message from arrayfire
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Mon Mar 28 22:59:52 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 5f4e8603046424c0de43d95ffedafcf1087863da
Author: Pavan Yalamanchili <pavan at arrayfire.com>
Date: Fri Mar 18 14:33:28 2016 -0400
RuntimeError now prints the proper error message from arrayfire
---
arrayfire/util.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arrayfire/util.py b/arrayfire/util.py
index db2286d..ae08e29 100644
--- a/arrayfire/util.py
+++ b/arrayfire/util.py
@@ -72,7 +72,7 @@ def safe_call(af_error):
err_str = ct.c_char_p(0)
err_len = ct.c_longlong(0)
backend.get().af_get_last_error(ct.pointer(err_str), ct.pointer(err_len))
- raise RuntimeError(to_str(err_str), af_error)
+ raise RuntimeError(to_str(err_str))
def get_version():
"""
--
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