diff --git a/LArCalorimeter/LArG4/LArG4EC/src/GetCurrent1.cc b/LArCalorimeter/LArG4/LArG4EC/src/GetCurrent1.cc
index dbef82c228787cc386f92af324d5bbb7391cd4f0..806f95f13362308d607ab4192916704cf809119d 100644
--- a/LArCalorimeter/LArG4/LArG4EC/src/GetCurrent1.cc
+++ b/LArCalorimeter/LArG4/LArG4EC/src/GetCurrent1.cc
@@ -225,8 +225,9 @@ G4double  LArG4::EC::EnergyCalculator::GetCurrent1(const G4ThreeVector &P1, cons
                       << gaperr << " correction still computed"
                       << " bad edep ratio=" << s_CHCEbad/s_CHCEtotal
                       << endmsg;
-                      }
-    }
+                      )
+      }
+  }
 #endif
 
     return current;