Skip to content

Commit 5d8846f

Browse files
authored
Update movepick.cpp
1 parent 069362e commit 5d8846f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

movepick.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
#include "movepick.h"
22
#include "eval.h"
33
#include <position.h>
4+
#include <algorithm>
45
using namespace chess;
56
namespace engine::movepick {
67
Value historyHeuristic[SQUARE_NB][SQUARE_NB]{};
7-
Move killerMoves[MAX_PLY][2];
8+
Move killerMoves[64][2];
89
void orderMoves(chess::Board & board, chess::Movelist & moves, chess::Move ttMove, int ply)
910
{
1011
std::vector<std::pair<chess::Move, Value>> scoredMoves;

0 commit comments

Comments
 (0)