From 2153a4f3d0bd3a9d6de8e4e2160f0a75027f9cf1 Mon Sep 17 00:00:00 2001
From: Felix Riehn <felix@matilda>
Date: Thu, 4 Jun 2020 11:26:02 +0100
Subject: [PATCH] clang

---
 Processes/OnShellCheck/testOnShellCheck.cc | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/Processes/OnShellCheck/testOnShellCheck.cc b/Processes/OnShellCheck/testOnShellCheck.cc
index 08e6cc323..bd366d9b5 100644
--- a/Processes/OnShellCheck/testOnShellCheck.cc
+++ b/Processes/OnShellCheck/testOnShellCheck.cc
@@ -40,9 +40,7 @@ TEST_CASE("OnShellCheck", "[processes]") {
   const HEPEnergyType E = 10_GeV;
   // list of arbitrary particles
   std::array<particles::Code, 4> particleList = {
-      particles::Code::PiPlus,
-      particles::Code::PiMinus,
-      particles::Code::Helium,
+      particles::Code::PiPlus, particles::Code::PiMinus, particles::Code::Helium,
       particles::Code::Gamma};
 
   std::array<double, 4> mass_shifts = {1.1, 1.001, 1.0, 1.0};
@@ -61,7 +59,7 @@ TEST_CASE("OnShellCheck", "[processes]") {
             corsika::stack::MomentumVector(rootCS, {0_GeV, 0_GeV, 0_GeV}),
             geometry::Point(rootCS, 0_m, 0_m, 0_m), 0_ns});
     // view on secondary particles
-    corsika::stack::SecondaryView view(particle);
+    corsika::stack::SecondaryView view(part./ icle);
     // ref. to primary particle through the secondary view.
     // only this way the secondary view is populated
     auto projectile = view.GetProjectile();
@@ -88,7 +86,6 @@ TEST_CASE("OnShellCheck", "[processes]") {
         REQUIRE(m_kinetic / particles::PiPlus::GetMass() == Approx(1));
       else if (i == 1)
         REQUIRE_FALSE(m_kinetic / particles::PiMinus::GetMass() == Approx(1));
-	
     }
   }
 }
-- 
GitLab