diff --git a/Framework/MDAlgorithms/inc/MantidMDAlgorithms/MDNormSCD.h b/Framework/MDAlgorithms/inc/MantidMDAlgorithms/MDNormSCD.h index 919c64e2f0c836f2a47cb147d94456867f76eaaf..e488b30f7f5c5cdcff45baf0379ca37f8bd2c47f 100644 --- a/Framework/MDAlgorithms/inc/MantidMDAlgorithms/MDNormSCD.h +++ b/Framework/MDAlgorithms/inc/MantidMDAlgorithms/MDNormSCD.h @@ -56,7 +56,7 @@ private: void createNormalizationWS(const DataObjects::MDHistoWorkspace &dataWS); std::vector<coord_t> getValuesFromOtherDimensions(bool &skipNormalization, - uint16_t expInfoIndex=0) const; + uint16_t expInfoIndex = 0) const; Kernel::Matrix<coord_t> findIntergratedDimensions(const std::vector<coord_t> &otherDimValues, bool &skipNormalization); diff --git a/Framework/MDAlgorithms/src/MDNormSCD.cpp b/Framework/MDAlgorithms/src/MDNormSCD.cpp index b67426128ea2278f918d99ff17dff9e147ed5e1d..151cd171ac8b81b9dfde5d4617a3c3bd04d901f3 100644 --- a/Framework/MDAlgorithms/src/MDNormSCD.cpp +++ b/Framework/MDAlgorithms/src/MDNormSCD.cpp @@ -161,7 +161,7 @@ void MDNormSCD::exec() { calculateNormalization(otherValues, affineTrans, expInfoIndex); } else { g_log.warning("Binning limits are outside the limits of the MDWorkspace. " - "Not applying normalization."); + "Not applying normalization."); } m_accumulate = true; } @@ -413,8 +413,8 @@ void MDNormSCD::calculateNormalization( const auto ¤tExptInfo = *(m_inputWS->getExperimentInfo(expInfoIndex)); using VectorDoubleProperty = Kernel::PropertyWithValue<std::vector<double>>; - auto *rubwLog = - dynamic_cast<VectorDoubleProperty *>(currentExptInfo.getLog("RUBW_MATRIX")); + auto *rubwLog = dynamic_cast<VectorDoubleProperty *>( + currentExptInfo.getLog("RUBW_MATRIX")); if (!rubwLog) { throw std::runtime_error( "Wokspace does not contain a log entry for the RUBW matrix." @@ -442,8 +442,9 @@ void MDNormSCD::calculateNormalization( std::vector<double> xValues, yValues; std::vector<coord_t> pos, posNew; double progStep = 0.7 / m_numExptInfos; - auto prog = make_unique<API::Progress>(this, 0.3 + progStep * expInfoIndex, - 0.3 + progStep * (expInfoIndex + 1.), ndets); + auto prog = + make_unique<API::Progress>(this, 0.3 + progStep * expInfoIndex, + 0.3 + progStep * (expInfoIndex + 1.), ndets); // cppcheck-suppress syntaxError PRAGMA_OMP(parallel for private(intersections, xValues, yValues, pos, posNew) if (Kernel::threadSafe(*integrFlux))) for (int64_t i = 0; i < ndets; i++) {