X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fposition.cpp;h=6a5d09ee385893cbba4bec95a66def5bc5cb15a1;hp=12b1bd9a8c5332996794e1ea9549fa2b23ba10b3;hb=70a818cbd6784ccfa8503d94bc31dd1dc16dd1ff;hpb=87586b3d0c8961c2fc9330e2f8ac2f8c3fe79018 diff --git a/src/position.cpp b/src/position.cpp index 12b1bd9a..6a5d09ee 100644 --- a/src/position.cpp +++ b/src/position.cpp @@ -1017,7 +1017,7 @@ void Position::do_null_move(StateInfo& newSt) { } st->key ^= Zobrist::side; - prefetch(TT.first_entry(st->key)); + prefetch(TT.first_entry(key())); ++st->rule50; st->pliesFromNull = 0; @@ -1067,7 +1067,7 @@ bool Position::see_ge(Move m, Value threshold) const { assert(is_ok(m)); - // Only deal with normal moves, assume others pass a simple see + // Only deal with normal moves, assume others pass a simple SEE if (type_of(m) != NORMAL) return VALUE_ZERO >= threshold;