diff --git a/broker/JFJochStateMachine.cpp b/broker/JFJochStateMachine.cpp index 924c5f60..d14cfeeb 100644 --- a/broker/JFJochStateMachine.cpp +++ b/broker/JFJochStateMachine.cpp @@ -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(); }