Skip to content

Commit

Permalink
apply clang format
Browse files Browse the repository at this point in the history
  • Loading branch information
lubynets committed Aug 5, 2024
1 parent ae24214 commit 15efd79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/Particle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ void Particle::SetPid(PdgCode_t pid) {
}

void Particle::CheckIsAllowedSetMassAndChargeExplicitly() const {
if(!is_allowed_set_charge_and_mass_explicitly_) {
if (!is_allowed_set_charge_and_mass_explicitly_) {
std::string message = "Particle::CheckIsAllowedSetMassAndChargeExplicitly(): ";
message += "mass and charge of the particle are set automatically with SetPid() call ";
message += "(unless they were already assigned with some values, incl. when copied content from Track to Particle). ";
Expand Down
2 changes: 1 addition & 1 deletion core/Particle.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Particle : public Track {

void SetPid(PdgCode_t pid);

void SetIsAllowedSetMassAndChargeExplicitly(bool is=true) { is_allowed_set_charge_and_mass_explicitly_ = is; }
void SetIsAllowedSetMassAndChargeExplicitly(bool is = true) { is_allowed_set_charge_and_mass_explicitly_ = is; }

void CheckIsAllowedSetMassAndChargeExplicitly() const;

Expand Down

0 comments on commit 15efd79

Please sign in to comment.