From: Nabil Ghodbane Date: Mon, 15 Jan 2024 14:40:09 +0000 (+0100) Subject: bos #40613 [CEA] deprecated np.float X-Git-Tag: V9_13_0a1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fbos%2F40613;p=modules%2Fhomard.git bos #40613 [CEA] deprecated np.float --- 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