Skip to content

Commit 534cd1d

Browse files
committed
Merge pull request #44 from FilipeMaia/master
Avoid problems with circular import
2 parents c4d89cd + b31ec5a commit 534cd1d

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
@@ -19,7 +19,6 @@
1919
from .base import *
2020
from .index import *
2121
from .index import _Index4
22-
from .algorithm import sum
2322

2423
def _create_array(buf, numdims, idims, dtype):
2524
out_arr = ct.c_void_p(0)
@@ -1059,3 +1058,5 @@ def display(a):
10591058
safe_call(backend.get().af_print_array(a.arr))
10601059
except:
10611060
safe_call(backend.get().af_print_array(a.arr))
1061+
1062+
from .algorithm import sum

0 commit comments

Comments
 (0)