[GRASS-dev] [GRASS GIS] #2496: r.random.surface error from RAN C library

GRASS GIS trac at osgeo.org
Thu Nov 20 13:00:44 PST 2014


#2496: r.random.surface error from RAN C library
------------------------------+---------------------------------------------
 Reporter:  cmbarton          |       Owner:  grass-dev@…              
     Type:  defect            |      Status:  new                      
 Priority:  normal            |   Milestone:  7.0.0                    
Component:  Raster            |     Version:  svn-trunk                
 Keywords:  r.random.surface  |    Platform:  MacOSX                   
      Cpu:  Unspecified       |  
------------------------------+---------------------------------------------

Comment(by glynn):

 That appears to be a conversion of
 [http://burro.astr.cwru.edu/Academics/Astr327/HW/HW2/ran1.f this Fortran
 function].

 That's supposed to generate uniform random numbers in the [0,1) interval,
 and so can be replaced by G_drand48().

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2496#comment:3>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list