From 65d301c91f342d9e21266f09649c5c47acdc4e69 Mon Sep 17 00:00:00 2001 From: ageay Date: Wed, 23 Oct 2013 09:59:39 +0000 Subject: [PATCH] Win64 porting. The same bug in numpy on cumsum than in Md10 32 bits. --- src/MEDCoupling_Swig/MEDCouplingNumPyTest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/MEDCoupling_Swig/MEDCouplingNumPyTest.py b/src/MEDCoupling_Swig/MEDCouplingNumPyTest.py index 0fcfe6c3f..e38950f69 100644 --- a/src/MEDCoupling_Swig/MEDCouplingNumPyTest.py +++ b/src/MEDCoupling_Swig/MEDCouplingNumPyTest.py @@ -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 -- 2.39.2