#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>

_______________________________________________
grass-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to