[GRASS-dev] [GRASS GIS] #3712: v.colors2 range check bug

GRASS GIS trac at osgeo.org
Sun Dec 16 18:34:57 PST 2018


#3712: v.colors2 range check bug
---------------------+-------------------------
 Reporter:  pmolzer  |      Owner:  grass-dev@…
     Type:  defect   |     Status:  new
 Priority:  normal   |  Milestone:
Component:  Addons   |    Version:  7.4.2
 Keywords:           |        CPU:  Unspecified
 Platform:  All      |
---------------------+-------------------------
 range checking in v.colors2 fails when the min value is 0. Line 183 should
 be changed
 from this:

 {{{
 if not minval or not maxval:
 }}}


  to this:

 {{{
 if minval is None or maxval is None:
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3712>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list