18 Apr
2014
18 Apr
'14
9:43 a.m.
On 04/18/2014 11:37 AM, Guillaume Gay wrote:
What numpy version are you using?
np.*version* >> ‘1.9.0.dev-61c699e’
I'm using 1.8.1 here. So, it seems they changed the semantics of indexed array assignments... Can you observe the same with plain numpy arrays?, i.e: a = arange(10) m = a > 5 a[m] += 2 a[:][m] += 2 Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>