[issue30930] Element wise multiplication issue

2017-07-14 Thread Mark Dickinson
Mark Dickinson added the comment: This is really a question for a NumPy mailing list, not for the Python bug tracker. But the answer is that you're doing computations using 32-bit integers, and those computations overflow, leading to the odd results you're seeing. It looks as though your Octa

[issue30930] Element wise multiplication issue

2017-07-14 Thread Ivan Marroquin
New submission from Ivan Marroquin: Hi all, I am using an anaconda 4.3.18 64 bits installation on windows 7. the version of python is 3.6.1 and numpy version is 1.12.1 In Python, I have this element wise multiplication: import numpy as np #read the input data from an ascii file into the attri