Import Geant4 7.1.0 source tree
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4PhysicsVector.icc,v 1.7 2001/07/11 10:00:51 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-07-00-cand-01 $
|
||||
// $Id: G4PhysicsVector.icc,v 1.8 2005/03/15 19:11:35 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-07-01 $
|
||||
//
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
@@ -93,13 +93,13 @@ inline
|
||||
|
||||
isOutRange = false; // No range check.
|
||||
|
||||
size_t locBin;
|
||||
size_t locBin = 0;
|
||||
|
||||
if( theEnergy == lastEnergy ) {
|
||||
if( !(theEnergy != lastEnergy) ) {
|
||||
return lastValue;
|
||||
|
||||
} else if( (theEnergy < lastEnergy) &&
|
||||
(theEnergy >= binVector[lastBin]) ) {
|
||||
} else if( (theEnergy < lastEnergy)
|
||||
&& (theEnergy >= binVector[lastBin]) ) {
|
||||
locBin = lastBin;
|
||||
|
||||
lastEnergy = theEnergy;
|
||||
@@ -146,7 +146,7 @@ inline
|
||||
{
|
||||
G4bool status=false;
|
||||
|
||||
if(numberOfBin > 0) status=true;
|
||||
if(numberOfBin > 0) { status=true; }
|
||||
return status;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user