Disable per-square MVV/LVA for now
authorMarco Costalba <mcostalba@gmail.com>
Sat, 15 Nov 2008 22:01:32 +0000 (23:01 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 16 Nov 2008 11:37:47 +0000 (12:37 +0100)
Needs more testing.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>

src/movepick.cpp
src/movepick.h

index dc295e1..02116b1 100644 (file)
@@ -145,7 +145,6 @@ Move MovePicker::get_next_move() {
     case PH_GOOD_CAPTURES:
         numOfMoves = generate_captures(pos, moves);
         score_captures();
-        capSquares = EmptyBoardBB;
         movesPicked = 0;
         break;
 
@@ -383,7 +382,7 @@ Move MovePicker::pick_move_from_list() {
 
       while (movesPicked < numOfMoves)
       {
-          bestIndex = find_best_index(&capSquares, capSqValues);
+          bestIndex = find_best_index();
 
           if (bestIndex != -1) // Found a good capture
           {
index e8a32c9..d7c2e09 100644 (file)
@@ -85,8 +85,6 @@ private:
   Move ttMove, mateKiller, killer1, killer2;
   Bitboard pinned, dc;
   MoveStack moves[256], badCaptures[64];
-  Bitboard capSquares;\r
-  int capSqValues[64];
   bool pvNode;
   Depth depth;
   int phaseIndex;