mirror of
https://github.com/sockspls/badfish
synced 2025-07-11 19:49:14 +00:00
Added debug code.
This commit is contained in:
parent
57ead90f18
commit
641724e3a5
1 changed files with 7 additions and 0 deletions
|
@ -687,6 +687,13 @@ void MultiThinkGenSfen::thread_worker(size_t thread_id)
|
||||||
// 最終的な書き出しは、勝敗がついてから。
|
// 最終的な書き出しは、勝敗がついてから。
|
||||||
pos.sfen_pack(psv.sfen);
|
pos.sfen_pack(psv.sfen);
|
||||||
|
|
||||||
|
//{
|
||||||
|
// std::string before_fen = pos.fen();
|
||||||
|
// pos.set_from_packed_sfen(psv.sfen, &si, th);
|
||||||
|
// std::string after_fen = pos.fen();
|
||||||
|
// assert(before_fen == after_fen);
|
||||||
|
//}
|
||||||
|
|
||||||
// PV lineのleaf nodeでのroot colorから見たevaluate()の値を取得。
|
// PV lineのleaf nodeでのroot colorから見たevaluate()の値を取得。
|
||||||
// search()の返し値をそのまま使うのとこうするのとの善悪は良くわからない。
|
// search()の返し値をそのまま使うのとこうするのとの善悪は良くわからない。
|
||||||
psv.score = evaluate_leaf(pos, pv1);
|
psv.score = evaluate_leaf(pos, pv1);
|
||||||
|
|
Loading…
Add table
Reference in a new issue