Skip to content

Commit f3bad7b

Browse files
authored
Merge pull request #148 from transientskp/reenable_parallel_make_subimages
Re-enable parallel make_subimages
2 parents 5333e7f + 7690c25 commit f3bad7b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sourcefinder/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ def nearest_nonzero(some_arr, rms):
417417
# “The make_subimages function has been generated using ChatGPT 4.0.
418418
# Its AI-output has been verified for correctness, accuracy and
419419
# completeness, adapted where needed, and approved by the author.”
420-
@njit()
420+
@njit(parallel=True)
421421
def make_subimages(a_data, a_mask, back_size_x, back_size_y):
422422
"""
423423
Reshape the image data such that it is suitable for guvectorized

0 commit comments

Comments
 (0)