Ignore:
Timestamp:
Nov 5, 2010, 3:45:55 PM (14 years ago)
Author:
garnier
Message:

update ti head

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/neutron_hp/src/G4NeutronHPFissionData.cc

    r962 r1340  
    3232// 081024 G4NucleiPropertiesTable:: to G4NucleiProperties::
    3333// 081124 Protect invalid read which caused run time errors by T. Koi
     34// 100729 Add safty for 0 lenght cross sections by T. Koi
    3435
    3536#include "G4NeutronHPFissionData.hh"
     
    149150  G4int index = anE->GetIndex();
    150151
     152// 100729 TK add safety
     153if ( ( ( *theCrossSections )( index ) )->GetVectorLength() == 0 ) return result;
     154
    151155  // prepare neutron
    152156  G4double eKinetic = aP->GetKineticEnergy();
Note: See TracChangeset for help on using the changeset viewer.