From: ageay Date: Wed, 23 Oct 2013 09:59:39 +0000 (+0000) Subject: Win64 porting. The same bug in numpy on cumsum than in Md10 32 bits. X-Git-Tag: V7_3_0a1~70 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=65d301c91f342d9e21266f09649c5c47acdc4e69;p=modules%2Fmed.git Win64 porting. The same bug in numpy on cumsum than in Md10 32 bits. --- 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