Skip to content

Commit 5fb29ce

Browse files
committed
Do not create data twice in dask mode (needs some clean-up)
1 parent 41de5eb commit 5fb29ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bench/ndarray/jit-reduc-sizes-dask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def compute_reduction_dask(a, b, c):
125125
nc = np.linspace(-10, 10, N, dtype=dtype)
126126
nout = compute_reduction_numpy(na, nb, nc)
127127
t0 = time()
128-
if numpy or numpy_jit:
128+
if numpy or numpy_jit and not dask_da:
129129
na = np.linspace(0, 1, N * N, dtype=dtype).reshape(N, N)
130130
nb = na + 1
131131
nc = np.linspace(-10, 10, N, dtype=dtype)

0 commit comments

Comments
 (0)