Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions colour/models/rgb/cylindrical.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
from colour.algebra import sdiv, sdiv_mode

if typing.TYPE_CHECKING:
from colour.hints import Domain1, NDArrayFloat, Range1
from colour.hints import Domain1, NDArrayBoolean, NDArrayFloat, Range1

from colour.hints import ArrayLike, cast
from colour.utilities import as_float_array, from_range_1, to_domain_1, tsplit, tstack
Expand Down Expand Up @@ -520,7 +520,7 @@ def HCL_to_RGB(HCL: Domain1, gamma: float = 3, Y_0: float = 100) -> Range1:
r_n60 = np.radians(-60)
r_n120 = np.radians(-120)

def _1_2_3(a: ArrayLike) -> NDArrayFloat:
def _1_2_3(a: ArrayLike) -> NDArrayBoolean:
"""Tail-stack specified :math:`a` array as a *bool* dtype."""

return tstack(cast("ArrayLike", [a, a, a]), dtype=np.bool_)
Expand Down