Salome HOME
Win64 porting. The same bug in numpy on cumsum than in Md10 32 bits.
authorageay <ageay>
Wed, 23 Oct 2013 09:59:39 +0000 (09:59 +0000)
committerageay <ageay>
Wed, 23 Oct 2013 09:59:39 +0000 (09:59 +0000)
src/MEDCoupling_Swig/MEDCouplingNumPyTest.py

index 0fcfe6c3fbe5a467bc9a7c8dede03e42a422af3f..e38950f69417b7a1bce65e484abe570b5a795099 100644 (file)
@@ -40,6 +40,7 @@ class MEDCouplingNumPyTest(unittest.TestCase):
         a[:]=4
         self.assertEqual(getrefcount(a),2)
         a=a.cumsum(dtype=int32)
+        a=array(a,dtype=int64) ; a=array(a,dtype=int32)
         self.assertEqual(getrefcount(a),2)
         d=DataArrayInt(a)
         d[:]=2