File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -105,15 +105,15 @@ namespace engine
105105 if (score > alpha){
106106 alpha = score;
107107 if (!board.isCapture (move))
108- movepick::historyHeuristic[from][to ] += depth * depth;
108+ movepick::historyHeuristic[( int )move. from ()][( int )move. to () ] += depth * depth;
109109 }
110110 if (alpha >= beta)
111111 {
112112 if (!board.isCapture (move))
113113 {
114114 if (movepick::killerMoves[ply][0 ] != move)
115115 {
116- movepick::killerMoves[ply][1 ] = killerMoves[ply][0 ];
116+ movepick::killerMoves[ply][1 ] = movepick:: killerMoves[ply][0 ];
117117 movepick::killerMoves[ply][0 ] = move;
118118 }
119119 }
@@ -127,7 +127,7 @@ namespace engine
127127 return VALUE_NONE;
128128 }
129129
130- if (maxScore != -VALUE_INFINITE)
130+ if (maxScore != -VALUE_INFINITE){
131131 TTFlag flag;
132132
133133 if (maxScore <= alphaOrig)
You can’t perform that action at this time.
0 commit comments