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 <[email protected]>

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to