mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-27 11:27:08 +08:00
Sometimes zero divided by zero can occur in this code. Saturation was already explicitly set to zero when 'delta' is zero. According to Wikipedia, hue is undefined when 'delta' here is zero, so explicitly set to zero.