I have a problem with Geant4 version 8.2. I have a division by zero in G4UrbanMscModel. In thefollowing code the value of tau is zero which results in a floating point exception in the indicated line. if(trueStepLength >= currentRange*dtrl) if(par1*trueStepLength < 1.) tau = -par2*log(1.-par1*trueStepLength) ; else tau = taubig ; currentTau = tau ; * lambdaeff = trueStepLength/currentTau; currentRadLength = couple->GetMaterial()->GetRadlen();
(In reply to comment #0) After i send the bugreport i saw that this problem was already solved in version 8.3. Installing this version does the job for me. *** This problem has been marked as a duplicate of problem 905 ***