
15 Feb
2009
15 Feb
'09
11:25 a.m.
On Sun, Feb 15, 2009 at 10:52:03AM +0100, Johann Gail wrote:
But I made one change:
+ bits[bits.length] = false;
This surely must be: bits[bits.length-1] = false;
Youre right. I'm astonished that my code was running without exceptions.
Yes, so that line must not have run and so endsWithNode was never true. So the change you saw must have come from changing the loop. On looking at it when I'm less tired, I'm think that the loop is still wrong. ..Steve