diff --git a/src/search.cpp b/src/search.cpp index 947fe682..4f7197ac 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -641,7 +641,7 @@ Value Worker::search( // Singular extensions int extension = 0; - if (!ROOT_NODE && m == tt_data->move && !excluded && tt_data + if (!ROOT_NODE && tt_data && m == tt_data->move && !excluded && depth >= tuned::sing_min_depth && is_valid_score(tt_data->score) && !is_mate_score(tt_data->score) && tt_data->depth >= depth - tuned::sing_depth_margin && tt_data->bound() != Bound::Upper) {