From 67837bf26424f6e4d5d3b775285666606176e438 Mon Sep 17 00:00:00 2001 From: MathiasMoog Date: Fri, 19 Dec 2025 15:59:52 +0100 Subject: [PATCH] Fix NumPy 2 error with np.inf --- intervals/methods.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intervals/methods.py b/intervals/methods.py index 7f49a83..be44a9c 100644 --- a/intervals/methods.py +++ b/intervals/methods.py @@ -45,7 +45,7 @@ numpy_tan = numpy.tan # numpy_cot = numpy.cotang numpy_pi = numpy.pi -numpy_inf = numpy.Inf +numpy_inf = numpy.inf # Properties or maybe attributes of the interval class. These apply to all interval-like objects.