Problem 30

Summary: Bad ligne of code in G4Dynamicparticl.icc::RemoveElectron !!!!
Product: Geant4 Reporter: barrand
Component: particlesAssignee: kurasige
Status: RESOLVED FIXED    
Severity: major CC: Gunter.Folger
Priority: P2    
Version: other   
Hardware: PC   
OS: Windows   

Description barrand 1999-11-04 00:43:04 CET
Visual (v6) give a warning at compilation over the
file :
  particles/management/include/G4DynamicParticle.icc

  It is in the method RemoveElectron over the line :
      theDynamicalCharge -+ eplus * n;

 which clearly should be :

      theDynamicalCharge += eplus * n;
Comment 1 kurasige 1999-11-07 02:06:59 CET
Fixed the bug on 07 Nov. 99   by Hisaya