]> git.sesse.net Git - stockfish/commitdiff
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 dc295e17904b8a0af822b05c507f0eac6e747464..02116b1cbfaf4f177adad36c6e7620e066578294 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 e8a32c9316cd3e836e6777f4588cf1e65f185ac7..d7c2e09bbba6fab47d73fec5fb9d52880ad6741c 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;