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 ad6f76e commit c5fbddaCopy full SHA for c5fbdda
arrayfire/util.py
@@ -79,7 +79,7 @@ def get_version():
79
minor=ct.c_int(0)
80
patch=ct.c_int(0)
81
safe_call(backend.get().af_get_version(ct.pointer(major), ct.pointer(minor), ct.pointer(patch)))
82
- return major,minor,patch
+ return major.value,minor.value,patch.value
83
84
to_dtype = {'f' : Dtype.f32,
85
'd' : Dtype.f64,
0 commit comments