Skip to content

Commit 8895ce0

Browse files
authored
Update eval.cpp
1 parent d4336c8 commit 8895ce0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎eval.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ Value eval(const chess::Board &board) {
127127
(pieceCount[3] + pieceCount[8]) * RookPhase +
128128
(pieceCount[4] + pieceCount[9]) * QueenPhase;
129129
phase = (phase * 256 + TotalPhase / 2) / TotalPhase;
130-
const int sign = board.sideToMove() == chess::Color::WHITE ? 1 : -1;
130+
const int sign = board.side_to_move() == chess::Color::WHITE ? 1 : -1;
131131
int mgScore = material;
132132
int egScore = material;
133133
{

0 commit comments

Comments
 (0)