From c03086a7254b1162cca203ea27bc3d9e08551eeb Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Mon, 15 Jan 2024 15:40:09 +0100 Subject: [PATCH] bos #40613 [CEA] deprecated np.float --- src/tests/Test/test_5.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/Test/test_5.py b/src/tests/Test/test_5.py index 01baaa97..af1ec47d 100755 --- a/src/tests/Test/test_5.py +++ b/src/tests/Test/test_5.py @@ -179,7 +179,7 @@ Python script for MEDCoupling cg_hexa = cg_hexa_ml.toNumPyArray() # Target # ====== - xyz_p = np.zeros(3, dtype=np.float) + xyz_p = np.zeros(3, dtype=np.float32) xyz_p[0] = -0.20*float(1-niter) * LG_X xyz_p[1] = -0.15*float(1-niter) * LG_Y xyz_p[2] = -0.10*float(1-niter) * LG_Z -- 2.39.2