JFJochStateMachine: If FFTW library is compiled in than indexing is always possible

This commit is contained in:
2026-04-16 07:58:16 +02:00
parent 2efa26fdb5
commit e2586a5ba1
+5 -2
View File
@@ -21,10 +21,13 @@ JFJochStateMachine::JFJochStateMachine(const DiffractionExperiment& in_experimen
pixel_mask_statistics({0, 0, 0}),
gpu_count(get_gpu_count()) {
indexing_possible = (get_gpu_count() >= 0);
#ifndef JFJOCH_USE_FFTW
indexing_possible = (get_gpu_count() > 0);
if (!indexing_possible)
data_processing_settings.indexing = false;
#else
data_processing_settings.indexing = true;
#endif
SupressTIFFErrors();
}