Problem 981 - typo in boundary check of EstimateSurfaceArea
Summary: typo in boundary check of EstimateSurfaceArea
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: geometry/management (show other problems)
Version: 9.0
Hardware: All All
: P5 minor
Assignee: Gabriele Cosmo
URL:
Depends on:
Blocks:
 
Reported: 2007-10-24 15:33 CEST by Henrik Arlinghaus
Modified: 2007-10-24 16:16 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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.