Skip to content

Commit dbc3c3a

Browse files
committed
fix a regression in aspiration window
1 parent 08d0b61 commit dbc3c3a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/search.d

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -539,11 +539,10 @@ final class Search {
539539
*
540540
*/
541541
void iterativeDeepening() {
542-
int λ, υ, δ = 5;
543542
int score = 0;
544543

545544
for (int depth = 1; persist(depth, score); ++depth) {
546-
int d = depth;
545+
int λ, υ, δ = 5, d = depth;
547546
previousPV = pv[0];
548547
if (depth <= 4) {
549548
score = pvs(-Score.mate, Score.mate, depth);

0 commit comments

Comments
 (0)