diff --git a/Framework/Crystal/src/FilterPeaks.cpp b/Framework/Crystal/src/FilterPeaks.cpp index 2c92154e77eb4b85d1964468c5b00486b396d649..f60acecea9586ca7449801c11b174ecdbefd7e16 100644 --- a/Framework/Crystal/src/FilterPeaks.cpp +++ b/Framework/Crystal/src/FilterPeaks.cpp @@ -99,8 +99,7 @@ void FilterPeaks::exec() { else if (FilterVariable == "Signal/Noise") filterFunction = &SN; else - throw std::invalid_argument( - "Unknown FilterVariable: " + FilterVariable); + throw std::invalid_argument("Unknown FilterVariable: " + FilterVariable); const double FilterValue = getProperty("FilterValue"); const std::string Operator = getProperty("Operator"); diff --git a/Framework/Kernel/src/Matrix.cpp b/Framework/Kernel/src/Matrix.cpp index c8edd12b2ce1885da8541c52a3d82a8d259ca1fc..b61a69823ee6fc67d66018f56f8eb3868430ca55 100644 --- a/Framework/Kernel/src/Matrix.cpp +++ b/Framework/Kernel/src/Matrix.cpp @@ -166,8 +166,8 @@ Matrix<T>::Matrix(const Matrix<T> &A, const size_t nrow, const size_t ncol) for (size_t j = 0; j <= ny; j++) { if (j != ncol) { - V[iR][jR] = A.V[i][j]; - jR++; + V[iR][jR] = A.V[i][j]; + jR++; } } iR++; diff --git a/Framework/WorkflowAlgorithms/src/RefReduction.cpp b/Framework/WorkflowAlgorithms/src/RefReduction.cpp index 9b111d80d456fb1b52da62138793c1bd3203c755..c65be0ce528d4931c1d315a5a70e4ce20c321a22 100644 --- a/Framework/WorkflowAlgorithms/src/RefReduction.cpp +++ b/Framework/WorkflowAlgorithms/src/RefReduction.cpp @@ -629,8 +629,8 @@ double RefReduction::calculateAngleREFM(MatrixWorkspace_sptr workspace) { Mantid::Kernel::Property *prop = workspace->run().getProperty("SampleDetDis"); Mantid::Kernel::TimeSeriesProperty<double> *dp = dynamic_cast<Mantid::Kernel::TimeSeriesProperty<double> *>(prop); - if (!dp) throw std::runtime_error( - "SampleDetDis was not a TimeSeriesProperty"); + if (!dp) + throw std::runtime_error("SampleDetDis was not a TimeSeriesProperty"); const double det_distance = dp->getStatistics().mean / 1000.0; double direct_beam_pix = getProperty("DirectPixel");