Skip to content

Commit

Permalink
Fix counting limit for KBNN (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
ianfab committed Jan 6, 2018
1 parent d782b1f commit c928c35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/position.h
Original file line number Diff line number Diff line change
Expand Up @@ -329,10 +329,10 @@ inline int Position::counting_limit() const {
return 16;
if (count<BISHOP>(strongSide) > 1)
return 22;
if (count<BISHOP>(strongSide) == 1)
return 44;
if (count<KNIGHT>(strongSide) > 1)
return 32;
if (count<BISHOP>(strongSide) == 1)
return 44;
return 64;
}

Expand Down

0 comments on commit c928c35

Please sign in to comment.