Skip to content
This repository was archived by the owner on Aug 2, 2019. It is now read-only.

Commit 65776e7

Browse files
committed
Fix last commit
Shouldn't delete old param
1 parent 811d59c commit 65776e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/thread.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ static void thread_update(const split_t * split, int old_alpha) {
595595

596596
if (best_move != MoveNone) {
597597

598-
good_move(best_move,board,depth,split->height,split->master);
598+
good_move(best_move,board,depth,split->height,split->master,best_value >=split->beta);
599599

600600
if (best_value >= split->beta && !MOVE_IS_TACTICAL(best_move,board)) {
601601

0 commit comments

Comments
 (0)