From e2586a5ba1e4b566e7abc6c05609cd563291dd95 Mon Sep 17 00:00:00 2001 From: leonarski_f Date: Thu, 16 Apr 2026 07:58:16 +0200 Subject: [PATCH] JFJochStateMachine: If FFTW library is compiled in than indexing is always possible --- broker/JFJochStateMachine.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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(); }