Salome HOME
projects
/
tools
/
medcoupling.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
223240e
)
Win64 porting. The same bug in numpy on cumsum than in Md10 32 bits.
author
ageay
<ageay>
Wed, 23 Oct 2013 09:59:39 +0000
(09:59 +0000)
committer
ageay
<ageay>
Wed, 23 Oct 2013 09:59:39 +0000
(09:59 +0000)
src/MEDCoupling_Swig/MEDCouplingNumPyTest.py
patch
|
blob
|
history
diff --git
a/src/MEDCoupling_Swig/MEDCouplingNumPyTest.py
b/src/MEDCoupling_Swig/MEDCouplingNumPyTest.py
index 0fcfe6c3fbe5a467bc9a7c8dede03e42a422af3f..e38950f69417b7a1bce65e484abe570b5a795099 100644
(file)
--- 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