Problem 981

Summary: typo in boundary check of EstimateSurfaceArea
Product: Geant4 Reporter: Henrik Arlinghaus <arlinghaus>
Component: geometry/managementAssignee: Gabriele Cosmo <Gabriele.Cosmo>
Status: RESOLVED FIXED    
Severity: minor    
Priority: P5    
Version: 9.0   
Hardware: All   
OS: All   

Description Henrik Arlinghaus 2007-10-24 15:33:05 CEST
In the function EstimateSurfaceArea the user given statistic is improperly overridden if the user wishes to use between 101 and 999 points.

  // limits

  if(nStat < 1000) { nStat = 100; }


should be

  // limits

  if(nStat < 100) { nStat = 100; }
Comment 1 Gabriele Cosmo 2007-10-24 16:16:04 CEST
Thanks for spotting this. The problem is fixed in tag "geommng-V09-00-01"
and will be included in the next release or bug-fix.