We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f43aab commit 5f4e860Copy full SHA for 5f4e860
arrayfire/util.py
@@ -72,7 +72,7 @@ def safe_call(af_error):
72
err_str = ct.c_char_p(0)
73
err_len = ct.c_longlong(0)
74
backend.get().af_get_last_error(ct.pointer(err_str), ct.pointer(err_len))
75
- raise RuntimeError(to_str(err_str), af_error)
+ raise RuntimeError(to_str(err_str))
76
77
def get_version():
78
"""
0 commit comments