diff --git a/corsika/detail/modules/proposal/ProposalProcessBase.inl b/corsika/detail/modules/proposal/ProposalProcessBase.inl index 2a72811ee9040cce07983c302f212f55d167f11c..f1a5b419d2425e8fa977e4cae757ea5ce69f5670 100644 --- a/corsika/detail/modules/proposal/ProposalProcessBase.inl +++ b/corsika/detail/modules/proposal/ProposalProcessBase.inl @@ -105,8 +105,8 @@ namespace corsika::proposal { cross[particle_code](medium, emcut); } - inline size_t ProposalProcessBase::hash::operator()(const calc_key_t& p) const - noexcept { + inline size_t ProposalProcessBase::hash::operator()( + const calc_key_t& p) const noexcept { return p.first ^ std::hash<Code>{}(p.second); } diff --git a/examples/cascade_examples/hybrid_MC.cpp b/examples/cascade_examples/hybrid_MC.cpp index 5ed3e96137ded34c0975b39ad3e0f473bf0abc70..b3241ffa9a39b52270aa81fb242aca9136fbb198 100644 --- a/examples/cascade_examples/hybrid_MC.cpp +++ b/examples/cascade_examples/hybrid_MC.cpp @@ -58,8 +58,8 @@ using namespace std; // // An example of running an EAS where the hadronic cascade is -// handled by sibyll+URQMD and the EM cascade is treated with -// CONEX + Bethe Bloch (as opposed to PROPOSAL). +// handled by sibyll+URQMD and the EM cascade is treated with +// CONEX + Bethe Bloch (as opposed to PROPOSAL). // /** @@ -235,8 +235,8 @@ int main(int argc, char** argv) { LongitudinalProfile<SubWriter<decltype(profile)>> longprof{profile}; Plane const obsPlane(showerCore, DirectionVector(rootCS, {0., 0., 1.})); - ObservationPlane<TrackingType> observationLevel( - obsPlane, DirectionVector(rootCS, {1., 0., 0.})); + ObservationPlane<TrackingType> observationLevel(obsPlane, + DirectionVector(rootCS, {1., 0., 0.})); output.add("particles", observationLevel); PrimaryWriter<TrackingType, ParticleWriterParquet> primaryWriter(observationLevel); @@ -271,7 +271,6 @@ int main(int argc, char** argv) { auto sequence = make_sequence(hadronSequence, decayPythia, eLoss, cut, conex_model, longprof, observationLevel, trackCheck); - StackType stack; stack.clear();