Skip to content
This repository was archived by the owner on Feb 2, 2024. It is now read-only.

Commit 1c91eac

Browse files
author
Ivan Butygin
committed
prange
1 parent a711ac3 commit 1c91eac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: hpat/datatypes/common_functions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def map_reduce_chunked(arg, init_val, map_func, reduce_func):
160160
return map_func(arg)
161161
else:
162162
c = _compute_map_chunks(arg, chunks_count)
163-
for i in range(len(c)):
163+
for i in prange(len(c)):
164164
val = map_func(c[i])
165165
res = reduce_func(res, val)
166166
return res

0 commit comments

Comments
 (0)