Salome HOME
Fix: getCellsContainingPoints() in case of polyhedron with a face containing colinear...
[tools/medcoupling.git] / src / MEDCoupling_Swig / MEDCouplingNumPyTest.py
index b837feb751536cf542da1c7187c9ed92f437d88e..8f500a2e7d0aeb21e8945e36b1a24d21b1a8c2d8 100644 (file)
@@ -1,5 +1,5 @@
 #  -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-2022  CEA/DEN, EDF R&D
+# Copyright (C) 2007-2024  CEA, EDF
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -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")