Skip to content
Snippets Groups Projects
Commit 914d7c13 authored by Dieter Weber's avatar Dieter Weber
Browse files

Fix clipping of rgb_from_vector()

* Clip saturation and luminance separately to make sure the result is clipped
  at the maximum possible saturation or luminance
* Ensure that the argument of np.arccos(...) is within the allowed range
  to avoid NaN
parent e85a58da
No related branches found
No related tags found
2 merge requests!2Fix clipping of rgb_from_vector(),!1Fix clipping of rgb_from_vector()
Pipeline #51673 failed