#241 Bug in ColorLookup.cpp: SVGColorMap

None
closed
None
5
2015-03-15
2014-06-12
No

Hi there

The SVGColorMap in ColorLookup.cpp has a mistake in the alphabetical order:

Current order:

  1. gray
  2. grey
  3. green
  4. greenyellow
  5. honeydew

Fix:

  1. gray
  2. green
  3. greenyellow
  4. grey
  5. honeydew

This causes the binary search to fail for e.g."green". I really wonder why nobody noticed this yet! Nobody using the good old-fashioned red, green and blue anymore? :)

Keep up the good work and best regards,
Christian

Discussion

  • Hervé Drolon

    Hervé Drolon - 2014-06-14
    • status: open --> pending
    • assigned_to: Hervé Drolon
    • Group: -->
     
  • Hervé Drolon

    Hervé Drolon - 2014-06-14

    Hi,

    Thanks for the bug fix, it is now fixed in the CVS.

    Hervé

     
  • Christian Schluchter

    Thanks, Hervé!

    Christian

     
  • Hervé Drolon

    Hervé Drolon - 2015-03-15
    • status: pending --> closed
     
  • Hervé Drolon

    Hervé Drolon - 2015-03-15

    fixed in release 3.17.0

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks