JFJochStateMachine: If FFTW library is compiled in than indexing is always possible
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user