Author: Heiner Marxen
Date: 12:58:08 05/01/02
Go up one level in this thread
On May 01, 2002 at 04:47:56, Todd Segal wrote: >Hi, > >I am programming a project using Nalimov tablebases and whenever I probe a >tablebase (no matter which one) I seem to be getting the same result from the >probe function (from Nalimov's tbindex.cpp). > >More specifically when calling "L_TbtProbeTable(iTb, 0, index); " I always get >32767 (not bev_broken). > >I think I am setting everything up right, but I fear this is a problem due to >bad initialization or bad pointers (I never get a segfault though). > >Any help would be HUGELY HELPFUL! > >Thanks so much! > >- Todd Segal Did you initialize with a call like egtb__maxcnt = IInitializeTb(egtb__path); and what was the result (egtb__maxcnt) ? Did you also allocate some memory like egtb__cache = malloc(size); egtb__allo = size; and pass it to the Nalimov code like in ok = FTbSetCacheSize(egtb__cache, egtb__allo); and what was the result (ok) ? Also, what value has iTb when you pass it to the probe function? (It should be non-zero.) Cheers, Heiner
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.