Salome HOME
projects
/
modules
/
homard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c9b2c3
)
bos #40613 [CEA] deprecated np.float
bos/40613
1/head
author
Nabil Ghodbane
<nabil.ghodbane@cea.fr>
Mon, 15 Jan 2024 14:40:09 +0000
(15:40 +0100)
committer
Nabil Ghodbane
<nabil.ghodbane@cea.fr>
Mon, 15 Jan 2024 14:40:09 +0000
(15:40 +0100)
src/tests/Test/test_5.py
patch
|
blob
|
history
diff --git
a/src/tests/Test/test_5.py
b/src/tests/Test/test_5.py
index 01baaa970bb16fd0673e287cb450c4948ff0f266..af1ec47dfd3921633532282519a6dc47dbe9c6f4 100755
(executable)
--- 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.float
32
)
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