Skip to content

Commit f7d199f

Browse files
committed
++
1 parent 7e7f0ce commit f7d199f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/nyx/reduce_trivial_rois.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -305,13 +305,13 @@ namespace Nyxus
305305
runParallel(ErosionPixelsFeature::parallel_process_1_batch, n_threads, work_per_thread, job_size, &L, &roiData);
306306
}
307307

308-
if (doImoms)
308+
if (Imoms2D_feature::required(theFeatureSet))
309309
{
310310
STOPWATCH("I-moments/I-moments/GM/#FFFACE", "\t=");
311311
runParallel(Imoms2D_feature::parallel_process_1_batch, n_threads, work_per_thread, job_size, &L, &roiData);
312312
}
313313

314-
if (doSmoms)
314+
if (Smoms2D_feature::required(theFeatureSet))
315315
{
316316
STOPWATCH("S-moments/S-moments/GM/#FFFACE", "\t=");
317317
runParallel(Smoms2D_feature::parallel_process_1_batch, n_threads, work_per_thread, job_size, &L, &roiData);

0 commit comments

Comments
 (0)