Hi everyone, I'm figuring out a strange behavoir with OrderedCollection. Actually I've created a matrix using OrderedCollection like this:
/c := OrderedCollection new: 16 withAll: (OrderedCollection new: 16 withAll: 0). c./ But when I try to set the value at row 1 and column 2 to be 50 like this: /(c at: 1) at: 2 put: 50/ I instead get 50 in any cell of the second column and I don't know why. When using a Matrix and the massage at:at:put, the behavoir is normal. Why that strange behavoir with OrderedCollection? -- View this message in context: http://forum.world.st/Implement-Matrix-whith-OrderedCollection-tp4945002.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.