Skip to content

Commit c5fbdda

Browse files
committed
Fixing bug in get_version()
1 parent ad6f76e commit c5fbdda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arrayfire/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def get_version():
7979
minor=ct.c_int(0)
8080
patch=ct.c_int(0)
8181
safe_call(backend.get().af_get_version(ct.pointer(major), ct.pointer(minor), ct.pointer(patch)))
82-
return major,minor,patch
82+
return major.value,minor.value,patch.value
8383

8484
to_dtype = {'f' : Dtype.f32,
8585
'd' : Dtype.f64,

0 commit comments

Comments
 (0)