Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 12, 2024
1 parent 1137820 commit 953300d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/TRestGeant4ParticleSource.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ class TRestGeant4ParticleSource : public TRestGeant4Particle, public TRestMetada

inline TVector3 GetDirection() const {
if (fDirection.Mag() <= 0) {
std::cout << "TRestGeant4ParticleSource::GetDirection: "
<< "Direction cannot be the zero vector" << std::endl;
std::cout << "TRestGeant4ParticleSource::GetDirection: " << "Direction cannot be the zero vector"
<< std::endl;
exit(1);
}
return fDirection;
Expand Down

0 comments on commit 953300d

Please sign in to comment.