Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Is this a mate in 14?

Author: Andre Reffhaug

Date: 07:31:09 02/11/06

Go up one level in this thread


On February 11, 2006 at 10:19:07, Tord Romstad wrote:

>Now I have found the answer.  As usual, the bug turned out to be very
>stupid and elementary.  I had a "<" sign at a place in my code where
>it should have been a "<=", and this had the consequence that at all
>nodes where the tree was split between the two threads, only the first
>N-1 of the N legal moves would be searched.  In the position after
>1. Nf6+, there are three legal moves.  Glaurung searched the moves
>1... gxf6 and 1... Kh8 first, and skipped the third and last move
>1... Kf8, which is the only move which avoids mate.
>
>After fixing this bug, the incorrect mate announcement disappears.
>
>Tord

Nice to hear, Tord! Good work!

André




This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.