From 3cfa4092c4a02e2d62322db46e0200e787279bec Mon Sep 17 00:00:00 2001 From: Paola Ferrario Date: Sat, 14 Sep 2024 08:32:42 +0200 Subject: [PATCH] Cosmetics --- source/physics/IonizationClustering.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/physics/IonizationClustering.cc b/source/physics/IonizationClustering.cc index 796a0554c..71d5bf1d5 100644 --- a/source/physics/IonizationClustering.cc +++ b/source/physics/IonizationClustering.cc @@ -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!"); }