Skip to content

Commit 0f63dbd

Browse files
committed
BUGFIX: af.display now properly displays the expression
1 parent dc83b49 commit 0f63dbd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arrayfire/array.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1067,6 +1067,7 @@ def display(a, precision=4):
10671067
except:
10681068
pass
10691069

1070-
safe_call(backend.get().af_print_array_gen(name, a.arr, ct.c_int(precision)))
1070+
safe_call(backend.get().af_print_array_gen(name.encode('utf-8'),
1071+
a.arr, ct.c_int(precision)))
10711072

10721073
from .algorithm import sum

0 commit comments

Comments
 (0)