Another thing I was surprised by and I am not
sure if I should reset my expectation or if this is a bug?

perldl> p $x
[1 1]
perldl> p $x->append(2);
[1 1 2]
perldl> p $x
[1 1]                (first surprise)

perldl> p $x->inplace->append(2)
[1 1 2]
perldl> p $x
[1 1]                 (bigger surprise)


Originally I thought ->append would work inplace automatically but if not
I hoped using inplace would convince it to change the underlying piddle.

regards
    Gabor    using PDL 2.4.3 on this computer

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to