Skip to content

Commit

Permalink
Cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
paolafer committed Sep 14, 2024
1 parent 1cf2d7e commit 3cfa409
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/physics/IonizationClustering.cc
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,11 @@ namespace nexus {
// and N is the average number of charges.

// Fetch the W_i and F from the material properties table
G4String mat_name = track.GetMaterial()->GetName();
G4MaterialPropertiesTable* mpt =
track.GetMaterial()->GetMaterialPropertiesTable();
if (!mpt) {
G4cout << "Material properties missing for material " << mat_name << G4endl;
G4cout << "Material properties missing for material "
<< track.GetMaterial()->GetName() << G4endl;
G4Exception("[IonizationClustering]", "PostStepDoIt()", FatalException,
"Material properties table not defined in material!");
}
Expand Down

0 comments on commit 3cfa409

Please sign in to comment.