From d25ca8d85b7dec92b45e419bcc7c1c23538d7d43 Mon Sep 17 00:00:00 2001
From: Vickie Lynch <lynchve@ornl.gov>
Date: Mon, 31 Jul 2017 12:01:47 -0400
Subject: [PATCH] Refs #20126 clang-format

---
 .../WorkflowAlgorithms/src/EQSANSLoad.cpp      | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/Framework/WorkflowAlgorithms/src/EQSANSLoad.cpp b/Framework/WorkflowAlgorithms/src/EQSANSLoad.cpp
index f7aacd53bbe..3ca53ab05d0 100644
--- a/Framework/WorkflowAlgorithms/src/EQSANSLoad.cpp
+++ b/Framework/WorkflowAlgorithms/src/EQSANSLoad.cpp
@@ -268,8 +268,10 @@ void EQSANSLoad::getSourceSlitSize() {
   Mantid::Kernel::TimeSeriesProperty<int> *ip =
       dynamic_cast<Mantid::Kernel::TimeSeriesProperty<int> *>(prop);
   int slit1;
-  if (dp) slit1 = static_cast<int>(dp->getStatistics().mean);
-  else if (ip) slit1 = static_cast<int>(ip->getStatistics().mean);
+  if (dp)
+    slit1 = static_cast<int>(dp->getStatistics().mean);
+  else if (ip)
+    slit1 = static_cast<int>(ip->getStatistics().mean);
   else
     throw std::runtime_error("Could not cast (interpret) the property " +
                              slit1Name + " as a time series property with "
@@ -280,8 +282,10 @@ void EQSANSLoad::getSourceSlitSize() {
   dp = dynamic_cast<Mantid::Kernel::TimeSeriesProperty<double> *>(prop);
   ip = dynamic_cast<Mantid::Kernel::TimeSeriesProperty<int> *>(prop);
   int slit2;
-  if (dp) slit2 = static_cast<int>(dp->getStatistics().mean);
-  else if (ip) slit2 = static_cast<int>(ip->getStatistics().mean);
+  if (dp)
+    slit2 = static_cast<int>(dp->getStatistics().mean);
+  else if (ip)
+    slit2 = static_cast<int>(ip->getStatistics().mean);
   else
     throw std::runtime_error("Could not cast (interpret) the property " +
                              slit2Name + " as a time series property with "
@@ -292,8 +296,10 @@ void EQSANSLoad::getSourceSlitSize() {
   dp = dynamic_cast<Mantid::Kernel::TimeSeriesProperty<double> *>(prop);
   ip = dynamic_cast<Mantid::Kernel::TimeSeriesProperty<int> *>(prop);
   int slit3;
-  if (dp) slit3 = static_cast<int>(dp->getStatistics().mean);
-  else if (ip) slit3 = static_cast<int>(ip->getStatistics().mean);
+  if (dp)
+    slit3 = static_cast<int>(dp->getStatistics().mean);
+  else if (ip)
+    slit3 = static_cast<int>(ip->getStatistics().mean);
   else
     throw std::runtime_error("Could not cast (interpret) the property " +
                              slit3Name + " as a time series property with "
-- 
GitLab