Skip to content

Commit

Permalink
- 比較用にEXCLUDED_MOVE_FORCE_EVALUATE追加。
Browse files Browse the repository at this point in the history
  • Loading branch information
yaneurao committed Jan 29, 2024
1 parent a408f41 commit a755536
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/engine/yaneuraou-engine/yaneuraou-search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1947,7 +1947,11 @@ Value search(Position& pos, Stack* ss, Value alpha, Value beta, Depth depth, boo
//Eval::NNUE::hint_common_parent_position(pos);
// TODO : → 今回のNNUEの計算は端折れるのか?

#if !defined(EXCLUDED_MOVE_FORCE_EVALUATE)
eval = ss->staticEval;
#else
eval = ss->staticEval = evaluate(pos);
#endif
}
else if (ss->ttHit)
{
Expand Down

0 comments on commit a755536

Please sign in to comment.