From 6dfde45ec875f02c11e0917cb818e0f4015f1197 Mon Sep 17 00:00:00 2001 From: Benoit Brummer Date: Mon, 1 Jul 2024 14:46:21 +0200 Subject: [PATCH] numpy 2 compat: replace np.float_ w/ np.double --- colour/constants/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colour/constants/common.py b/colour/constants/common.py index 5dd8eaa19..621e9b8e5 100644 --- a/colour/constants/common.py +++ b/colour/constants/common.py @@ -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.