Skip to content

Commit

Permalink
numpy 2 compat: replace np.float_ w/ np.double
Browse files Browse the repository at this point in the history
  • Loading branch information
trougnouf authored and KelSolaar committed Jul 5, 2024
1 parent 661c144 commit 6dfde45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion colour/constants/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
int.
"""

EPSILON: float = cast(float, np.finfo(np.float_).eps)
EPSILON: float = cast(float, np.finfo(np.double).eps)
"""
Default epsilon value for tolerance and singularities avoidance in various
computations.
Expand Down

0 comments on commit 6dfde45

Please sign in to comment.