Skip to content

Commit 0b79df8

Browse files
author
Cristy
committed
restore threading in similarity search
1 parent e2804cf commit 0b79df8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

magick/compare.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2241,7 +2241,7 @@ MagickExport Image *SimilarityMetricImage(Image *image,const Image *reconstruct,
22412241
similarity_info.x,similarity_info.y,exception);
22422242
progress=0;
22432243
similarity_view=AcquireVirtualCacheView(similarity_image,exception);
2244-
#if defined(MMAGICKCORE_OPENMP_SUPPORT)
2244+
#if defined(MAGICKCORE_OPENMP_SUPPORT)
22452245
#pragma omp parallel for schedule(static) shared(status,similarity_info) \
22462246
magick_number_threads(image,reconstruct,similarity_image->rows << 2,1)
22472247
#endif

0 commit comments

Comments
 (0)