in reply to Re^6: enumerating values for slopes
in thread enumerating values for slopes

You are right, it's a mistake to push references to the same array without declaring it anew. I have been bitten by that a couple of times, I should know better. That's why I am actually almost always using the second method using the [] anonymous array reference constructor.