IAP GITLAB

Skip to content
Snippets Groups Projects
Commit a838ec20 authored by ralfulrich's avatar ralfulrich Committed by Maximilian Reininghaus
Browse files

clang

parent 4751b8c4
No related branches found
No related tags found
No related merge requests found
......@@ -207,7 +207,6 @@ public:
HEPEnergyType GetEmEnergy() const { return fEmEnergy; }
};
//
// The example main program for a particle cascade
//
......
......@@ -210,7 +210,6 @@ public:
HEPEnergyType GetEmEnergy() const { return fEmEnergy; }
};
//
// The example main program for a particle cascade
//
......
......@@ -333,7 +333,8 @@ using StackTest2 = CombinedStack<typename StackTest::StackImpl, TestStackData3,
CombinedTestInterfaceType2>;
#if defined(__clang__)
using StackTestView = SecondaryView<typename StackTest2::StackImpl, CombinedTestInterfaceType2>;
using StackTestView =
SecondaryView<typename StackTest2::StackImpl, CombinedTestInterfaceType2>;
#elif defined(__GNUC__) || defined(__GNUG__)
using StackTestView = corsika::stack::MakeView<StackTest2>::type;
#endif
......
......@@ -50,7 +50,7 @@ namespace corsika::units::constants {
constexpr quantity<mass_d> u{Rep(1.6605402e-27L) * kilogram};
auto constexpr nucleonMass = 0.5 * (0.93827 + 0.93957) * 1e9 * electronvolt;
// molar gas constant
auto constexpr R = Rep(8.314'459'8) * joule / (mole * kelvin);
......
......@@ -3,12 +3,12 @@
namespace corsika::utl {
//! sign function without branches
template <typename T>
static int sgn(T val) {
return (T(0) < val) - (val < T(0));
}
//! sign function without branches
template <typename T>
static int sgn(T val) {
return (T(0) < val) - (val < T(0));
}
}
} // namespace corsika::utl
#endif
......@@ -44,7 +44,8 @@ namespace corsika::process::energy_loss {
static units::si::HEPEnergyType BetheBloch(setup::Stack::ParticleType const& p,
const units::si::GrammageType dX);
int GetXbin(setup::Stack::ParticleType const&, setup::Trajectory const&, units::si::HEPEnergyType);
int GetXbin(setup::Stack::ParticleType const&, setup::Trajectory const&,
units::si::HEPEnergyType);
units::si::HEPEnergyType fEnergyLossTot;
units::si::GrammageType fdX; // profile binning
......
......@@ -147,7 +147,6 @@ namespace corsika::process::pythia {
// set particle stable
Decay::SetStable(vP.GetPID());
}
} // namespace corsika::process::pythia
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment