File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,6 @@ namespace
135135 bool at_root = search.stats .ply == 0 ;
136136 bool tthit = entry.hash == position.key .data ();
137137 int move_num = 0 ;
138- int qmove_num = 0 ;
139138 int original = alpha;
140139
141140 if (!at_root)
@@ -181,12 +180,10 @@ namespace
181180
182181 for (Move move; picker.next (move);)
183182 {
184- if (picker.stage >= MovePicker::Stage::GiveQuiet && qmove_num > int (picker. gen . movelist . size () / ( 3 - pv_node) + depth * 2 ) )
183+ if (picker.stage >= MovePicker::Stage::GiveQuiet && move_num > depth * depth * 2 + 2 )
185184 break ;
186185
187186 move_num++;
188- if (picker.stage == MovePicker::Stage::GiveQuiet)
189- qmove_num++;
190187
191188 position.apply_move (move, search.stats .ply );
192189
Original file line number Diff line number Diff line change 2626#include " searchinit.h"
2727#include " polyglot.h"
2828
29- const char *version = " 6.6 " ;
29+ const char *version = " 6.65 " ;
3030
3131namespace
3232{
You can’t perform that action at this time.
0 commit comments