Skip to content

Commit a251a1a

Browse files
committed
Merge pull request #435 from MRtrix3/fod_seg_fix_hang_windows
FOD segmentation: Prevent hangs on Windows
2 parents 72603c8 + bf9ac50 commit a251a1a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/fod2fixel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ void run ()
252252
Segmenter fmls (dirs, Math::SH::LforN (H.dim(3)));
253253
load_fmls_thresholds (fmls);
254254

255-
Thread::run_queue (writer, SH_coefs(), Thread::multi (fmls), FOD_lobes(), receiver);
255+
Thread::run_queue (writer, Thread::batch (SH_coefs()), Thread::multi (fmls), Thread::batch (FOD_lobes()), receiver);
256256

257257
}
258258

src/dwi/tractography/SIFT/model_base.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ namespace MR
228228
DWI::FMLS::Segmenter fmls (dirs, Math::SH::LforN (data.dim(3)));
229229
fmls.set_dilate_lookup_table (!App::get_options ("no_dilate_lut").size());
230230
fmls.set_create_null_lobe (App::get_options ("make_null_lobes").size());
231-
Thread::run_queue (writer, FMLS::SH_coefs(), Thread::multi (fmls), FMLS::FOD_lobes(), *this);
231+
Thread::run_queue (writer, Thread::batch (FMLS::SH_coefs()), Thread::multi (fmls), Thread::batch(FMLS::FOD_lobes()), *this);
232232
have_null_lobes = fmls.get_create_null_lobe();
233233
}
234234

0 commit comments

Comments
 (0)