Skip to content

Commit 433ba7a

Browse files
committed
BUGFIX: value of f32 was being overwritten
1 parent 99c6cee commit 433ba7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arrayfire/array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def dims(self):
143143
return dims[:self.numdims()]
144144

145145
def type(self):
146-
dty = f32
146+
dty = c_int(f32.value)
147147
safe_call(clib.af_get_type(pointer(dty), self.arr))
148148
return dty
149149

0 commit comments

Comments
 (0)