From b058d65132cf55b3fe7475f333e38387b26e3172 Mon Sep 17 00:00:00 2001 From: Romain Boman <r.boman@uliege.be> Date: Fri, 8 Sep 2023 10:56:09 +0200 Subject: [PATCH] fix `np.int` was a deprecated alias for the builtin `int` (numpy) --- heat/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heat/utils.py b/heat/utils.py index 29987fe..f0c75de 100644 --- a/heat/utils.py +++ b/heat/utils.py @@ -45,7 +45,7 @@ def getTemp(solver, linelabel="Bottom", sort='x'): import numpy as np v = np.array(extr.execute()) - nos = np.zeros_like(v, dtype=np.int) + nos = np.zeros_like(v, dtype=int) nxs = np.zeros_like(v) nys = np.zeros_like(v) for i in range(len(v)): -- GitLab