1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-29 16:23:09 +00:00

Disable per-square MVV/LVA for now

Needs more testing.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba 2008-11-15 23:01:32 +01:00
parent 20d7197a9b
commit bb0da595a7
2 changed files with 1 additions and 4 deletions

View 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
{

View file

@ -85,8 +85,6 @@ private:
Move ttMove, mateKiller, killer1, killer2;
Bitboard pinned, dc;
MoveStack moves[256], badCaptures[64];
Bitboard capSquares;
int capSqValues[64];
bool pvNode;
Depth depth;
int phaseIndex;