Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Problem with TT

Author: Thomas Mayer

Date: 09:55:32 07/11/03

Go up one level in this thread


Hi Grzegorz,

>My code is probably very unreadeble but I think for
>famous people from this forum it is not big problem ;-)

Definitely NOT unreadable... looks fine to me - and anyway, we all know what it
should be... :)

>//Transposition table entry
>unsigned long *trans_b;//Lock
>bool *val_side; //side on move

that also might be the problem ! Why do you store side to move here ? So don't
you hash side to move in your hashkey ? That's important, else you will
overwrite positions from sides.
I do:

if (white_to_move) hashkey|=color;

where color is a random value like the others...
For the first tests with Quark I did forget that - I really got confused when I
saw black moves in it's PV where white should move... :)

Greets, Thomas



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.