]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Small doc into test used to make connection between client and server for IA
authorAnthony Geay <anthony.geay@edf.fr>
Wed, 31 Jan 2024 12:32:39 +0000 (13:32 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Wed, 31 Jan 2024 12:32:39 +0000 (13:32 +0100)
src/MEDCoupling_Swig/MEDCouplingNumPyTest.py

index 9d0b090fe9b557b26d3a5c05856372b620d02bb5..8f500a2e7d0aeb21e8945e36b1a24d21b1a8c2d8 100644 (file)
@@ -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")