Salome HOME
projects
/
tools
/
medcoupling.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a586fa4
)
Small doc into test used to make connection between client and server for IA
author
Anthony Geay
<anthony.geay@edf.fr>
Wed, 31 Jan 2024 12:32:39 +0000
(13:32 +0100)
committer
Anthony Geay
<anthony.geay@edf.fr>
Wed, 31 Jan 2024 12:32:39 +0000
(13:32 +0100)
src/MEDCoupling_Swig/MEDCouplingNumPyTest.py
patch
|
blob
|
history
diff --git
a/src/MEDCoupling_Swig/MEDCouplingNumPyTest.py
b/src/MEDCoupling_Swig/MEDCouplingNumPyTest.py
index 9d0b090fe9b557b26d3a5c05856372b620d02bb5..8f500a2e7d0aeb21e8945e36b1a24d21b1a8c2d8 100644
(file)
--- a/
src/MEDCoupling_Swig/MEDCouplingNumPyTest.py
+++ b/
src/MEDCoupling_Swig/MEDCouplingNumPyTest.py
@@
-823,6
+823,7
@@
class MEDCouplingNumPyTest(unittest.TestCase):
a=zeros(20,dtype=float32)
b = a[::-1]
self.assertRaises(InterpKernelException,DataArrayFloat.New,b) # b is not contiguous in memory
+ DataArrayFloat.New( ravel(b) )
pass
@unittest.skipUnless(MEDCouplingHasNumPyBindings(),"requires numpy")