bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnubg] move filter bug?


From: Joern Thyssen
Subject: [Bug-gnubg] move filter bug?
Date: Wed, 11 Dec 2002 17:48:05 +0000
User-agent: Mutt/1.4i

Hi,

I was moving the movefilter code into FindnSaveBestMoves when I found:

eval.c around line 3145:

    for( iPly = 0; iPly < nPlies; ++iPly ) {
      movefilter* mFilter = (iPly < MAX_FILTER_PLIES) ? &mFilters[iPly] : 
&NullFilter;
         
      unsigned int k;

      if( mFilter->Accept == 0 ) {
        continue;
      }

      if( ScoreMoves( &ml, pci, pec, 0 ) < 0 ) {
        return -1;
      }

Shouldn't the call to ScoreMoves be:

ScoreMoves( &ml, pci, pec, iPly ) ?

I'll remove nSearchCandiates and rSearchTolerance everywhere...

Jørn





reply via email to

[Prev in Thread] Current Thread [Next in Thread]