diff --git a/src/history.h b/src/history.h index 1312e98c..d2986b72 100644 --- a/src/history.h +++ b/src/history.h @@ -29,7 +29,6 @@ INLINE int GetQuietHistory(SearchStack* ss, ThreadData* thread, Move move) { return (int) HH(thread->board.stm, move, thread->board.threatened) + // - (int) PH(thread->board.pawnZobrist, move) + // (int) (*(ss - 1)->ch)[Moving(move)][To(move)] + // (int) (*(ss - 2)->ch)[Moving(move)][To(move)] + // (int) (*(ss - 4)->ch)[Moving(move)][To(move)]; diff --git a/src/movepick.c b/src/movepick.c index 32ab2d59..db52ac72 100644 --- a/src/movepick.c +++ b/src/movepick.c @@ -65,7 +65,8 @@ INLINE void ScoreMoves(MovePicker* picker, Board* board, const int type) { (int) (*(ss - 1)->ch)[pc][to] * 2 + // (int) (*(ss - 2)->ch)[pc][to] * 2 + // (int) (*(ss - 4)->ch)[pc][to] + // - (int) (*(ss - 6)->ch)[pc][to]; + (int) (*(ss - 6)->ch)[pc][to] + // + (int) PH(board->pawnZobrist, move); if (pt != PAWN && pt != KING) { const BitBoard danger = threats[Max(0, pt - BISHOP)];