Article View: gnu.chess
Article #4664repetition bug (with fix)
From: Urban Koistinen
Date: Thu, 05 Jan 1995 10:45
Date: Thu, 05 Jan 1995 10:45
26 lines
1653 bytes
1653 bytes
History: In the version of gnuchess 3.1 that won the uniform platform tournament the repetition code does not recognize that pieces are different. Present condition: In the last 4.0 pl 73 version there is another bug in repetition. The loop examine one position too far back. Others have noted that there is something strange in repetition. The strangeness is that the loop will only be entered when there is at least 5 iterations, even though a repetition could occur after 4 half moves. Possible consequences: For 5 iterations and less the problem is only some lost cycles but for even greater (pun intended) values it might cause the program to miscalculate. Easy fix: Use ">" instead of ">=" in the repetition function in file search.c. I have mailed mwm about this, but as there has been no new version for a while I thought I'd post too. -- Urban Koistinen - md85-epi@nada.kth.se Stop software patents, interface copyrights: contact lpf@uunet.uu.net
Technical Details
Message-ID:
<3egikc$2rq@news.kth.se>Path:
arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!news.cac.psu.edu!news.pop.psu.edu!psuvax1!uwm.edu!cs.utexas.edu!swrinde!pipex!sunic!news.kth.se!hemul.nada.kth.se!md85-epiShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d71d,447c0dc2f8d70554,start X-Google-Attributes: gid10d71d,public X-Google-ArrivalTime: 1995-01-05 11:08:12 PST Path: arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!news.cac.psu.edu!news.pop.psu.edu!psuvax1!uwm.edu!cs.utexas.edu!swrinde!pipex!sunic!news.kth.se!hemul.nada.kth.se!md85-epi From: md85-epi@hemul.nada.kth.se (Urban Koistinen) Newsgroups: gnu.chess Subject: repetition bug (with fix) Date: 5 Jan 1995 10:45:32 GMT Lines: 26 Message-ID: <3egikc$2rq@news.kth.se> NNTP-Posting-Host: hemul.nada.kth.se Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit