From c481d6e58fbf685d3546ce3b13a2d4b729cede1a Mon Sep 17 00:00:00 2001
From: Nick Draper <nick.draper@stfc.ac.uk>
Date: Tue, 13 Oct 2015 14:53:14 +0100
Subject: [PATCH] re #13928  clang format

---
 Framework/Crystal/src/FilterPeaks.cpp             | 3 +--
 Framework/Kernel/src/Matrix.cpp                   | 4 ++--
 Framework/WorkflowAlgorithms/src/RefReduction.cpp | 4 ++--
 3 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/Framework/Crystal/src/FilterPeaks.cpp b/Framework/Crystal/src/FilterPeaks.cpp
index 2c92154e77e..f60acecea95 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 c8edd12b2ce..b61a69823ee 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 9b111d80d45..c65be0ce528 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");
-- 
GitLab