mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-01 20:58:05 +08:00
bb1add8abd
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.