mirror of
https://github.com/sockspls/badfish
synced 2025-07-12 03:59:15 +00:00
Format Code
No functional change
This commit is contained in:
parent
d30af4f669
commit
08ed4c90db
1 changed files with 6 additions and 3 deletions
|
@ -768,9 +768,12 @@ Value search(Position& pos, Stack* ss, Value alpha, Value beta, Depth depth, boo
|
||||||
{
|
{
|
||||||
if (!priorCapture && prevSq != SQ_NONE)
|
if (!priorCapture && prevSq != SQ_NONE)
|
||||||
{
|
{
|
||||||
int bonus = (depth > 6) + (PvNode || cutNode) + (value < alpha - 658) + ((ss-1)->moveCount > 11);
|
int bonus = (depth > 6) + (PvNode || cutNode) + (value < alpha - 658)
|
||||||
update_continuation_histories(ss-1, pos.piece_on(prevSq), prevSq, stat_bonus(depth) * bonus);
|
+ ((ss - 1)->moveCount > 11);
|
||||||
thisThread->mainHistory[~us][from_to((ss-1)->currentMove)] << stat_bonus(depth) * bonus * 57 / 100;
|
update_continuation_histories(ss - 1, pos.piece_on(prevSq), prevSq,
|
||||||
|
stat_bonus(depth) * bonus);
|
||||||
|
thisThread->mainHistory[~us][from_to((ss - 1)->currentMove)]
|
||||||
|
<< stat_bonus(depth) * bonus * 57 / 100;
|
||||||
}
|
}
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue