Igor Schein on Thu, 30 Jan 2003 16:35:45 -0500


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

Re: quadclassunit() bug


On Thu, Jan 30, 2003 at 03:40:29PM -0500, Igor Schein wrote:
> Hi,
> 
> ? setrand(178);quadclassunit(82421)[1]
> 2
> 
> This is wrong, should be 1.  It looks like it can be related to the
> top priority items in section BUGS (general) of TODO file.
> 
> Thanks
> 
> Igor

Actually, it looks like regression, since it was working fine prior
to this change:

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
revision 1.49
date: 2002/09/02 21:15:07;  author: karim;  state: Exp;  lines: +365 -450
major cleanup buchquad [preliminary]
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

Or maybe, rather, this change exposed previously hidden bug.

The better way to see the problem, independent of a specific seed, is:

while(1,s=getrand;if(quadclassunit(82421)[1]!=1,print(s)))

*Bad* seeds start popping up right away when running post-Sep_2nd versions. 

Thanks

Igor