Salome HOME
Ensure cmake_build_type is used in SALOME 9.12.0
[tools/sat_salome.git] / products / patches / HOMARD-V9_12_0-numpy-1.20.-np.float.patch
1 diff --git a/src/tests/Test/test_5.py b/src/tests/Test/test_5.py
2 index 01baaa9..af1ec47 100755
3 --- a/src/tests/Test/test_5.py
4 +++ b/src/tests/Test/test_5.py
5 @@ -179,7 +179,7 @@ Python script for MEDCoupling
6      cg_hexa = cg_hexa_ml.toNumPyArray()
7  # Target
8  # ======
9 -    xyz_p = np.zeros(3, dtype=np.float)
10 +    xyz_p = np.zeros(3, dtype=np.float32)
11      xyz_p[0] = -0.20*float(1-niter) * LG_X
12      xyz_p[1] = -0.15*float(1-niter) * LG_Y
13      xyz_p[2] = -0.10*float(1-niter) * LG_Z