[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Would you consider this a bug?




After doing

a=[3,4,5]
a[[2,1,0]] = a

a will be set to [3,4,3]

One has to write
a[[2,1,0]] = a + 0

in order to get the more correct seeming [5,4,3].

Would you think this a bug?


-- 
David Kastrup                                     Phone: +49-234-700-5570
Email: dak@neuroinformatik.ruhr-uni-bochum.de       Fax: +49-234-709-4209
Institut für Neuroinformatik, Universitätsstr. 150, 44780 Bochum, Germany