[Gllug] Algorithm question

Greg McCarroll greg at mccarroll.org.uk
Wed Feb 28 12:33:14 UTC 2007


On 28 Feb 2007, at 12:29, Adrian McMenamin wrote:

> if ( ( ( ( $y[ $i ] <= $y ) && ( $y < $y[ $j ] ) ) || ( ( $y[ $j ]
> <= $y ) && ( $y < $y[ $i ] ) ) )

i haven't looked at what it's doing but what happens when you change
the <'s to <='s twice in the above?

G.
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list