We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c769d4d commit d64ffd9Copy full SHA for d64ffd9
src/movepick.cpp
@@ -179,12 +179,7 @@ Move MovePicker::next_move(bool skipQuiets) {
179
move = pick_best(cur++, endMoves);
180
if (move != ttMove)
181
{
182
- if (pos.see_ge(move))
183
- return move;
184
-
185
- if ( type_of(pos.piece_on(to_sq(move))) == KNIGHT
186
- && type_of(pos.moved_piece(move)) == BISHOP
187
- && (cur-1)->value > 1090)
+ if (pos.see_ge(move, Value(-55 * (cur-1)->value / 1024)))
188
return move;
189
190
// Losing capture, move it to the beginning of the array
0 commit comments