Problem 30 - Bad ligne of code in G4Dynamicparticl.icc::RemoveElectron !!!!
Summary: Bad ligne of code in G4Dynamicparticl.icc::RemoveElectron !!!!
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: particles (show other problems)
Version: other
Hardware: PC Windows
: P2 major
Assignee: kurasige
URL:
Depends on:
Blocks:
 
Reported: 1999-11-04 00:43 CET by barrand
Modified: 1999-11-07 02:06 CET (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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