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:
parent
20d7197a9b
commit
bb0da595a7
2 changed files with 1 additions and 4 deletions
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue