Import Geant4 3.0.0 source tree
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4PhysicsLogVector.cc,v 1.2 1999/11/16 17:46:52 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
// $Id: G4PhysicsLogVector.cc,v 1.3 2000/11/20 17:26:48 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-03-00 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
@@ -66,7 +66,7 @@ G4PhysicsLogVector::G4PhysicsLogVector(G4double theEmin,
|
||||
dBin = log10(theEmax/theEmin) / numberOfBin;
|
||||
baseBin = log10(theEmin)/dBin;
|
||||
|
||||
for (G4int i=0; i<numberOfBin+1; i++) {
|
||||
for (size_t i=0; i<numberOfBin+1; i++) {
|
||||
binVector(i) = pow(10., log10(theEmin)+i*dBin);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user