Author: James Swafford
Date: 12:17:11 12/29/00
Go up one level in this thread
hehe Good story... I know that feeling well! On December 29, 2000 at 04:17:05, Severi Salminen wrote: >Hi! > >I made a bug in my program. It was a very stupid bug which I tried to find for >at least 4-6 days. When I played games against other winboard engines my program >freezed at some point (not in every game) reporting an error in MVV/LVA sorting >algorithm. Well, apparently there was nothing wrong in there. Then after a few >days I managed to find out that something was corrupting my precompiled attack >tables for bishops - strange. Then after a few hours of debugging I managed to >isolate the problem to history heuristics table and there it was (at the >beginning of my source file): > >int History[MAX_PLY][MAX_PLY]; > >Did you see that: MAX_PLY!! Of course it should have been [64][64]. MAX_PLY was >set to 60 so it crashed not too often. Boy, I was happy to find that one. Now it >is working smooth and fine! > >You learn by mistakes. > >Severi
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.