Author: Zach Wegner
Date: 10:51:19 09/26/04
In my program, I allocate the hash tables with calloc(), which initializes everything to zero. Recently I've been having a problem where the program crashes on somewhat longer searches. After debugging, it turned out to be the pawn hashkey is equal to 0, and the corresponding entry had not been written into yet, making the program think it was a valid hit. The pawn data is all set to zero and causes a seg fault later on. What's the best way to solve this? Better zobrist numbers/ignore it? A "used" bit? Thanks, Zach
This page took 0.01 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.