diff --git a/broker/JFJochStateMachine.cpp b/broker/JFJochStateMachine.cpp index b2daa353..00eae79d 100644 --- a/broker/JFJochStateMachine.cpp +++ b/broker/JFJochStateMachine.cpp @@ -812,7 +812,7 @@ void JFJochStateMachine::LoadInternalGeneratorImageTIFF(const std::string &s, ui uint32_t cols, lines; auto v = ReadTIFFFromString16(s, cols, lines); if (((cols == experiment.GetXPixelsNum()) && (lines == experiment.GetYPixelsNum())) - || ((cols == RAW_MODULE_SIZE) && (lines == RAW_MODULE_LINES * experiment.GetModulesNum()))) + || ((cols == RAW_MODULE_COLS) && (lines == RAW_MODULE_LINES * experiment.GetModulesNum()))) services.LoadInternalGeneratorImage(experiment, v, image_number); else throw JFJochException(JFJochExceptionCategory::InputParameterInvalid,