- Value v = search<NonPV>(pos, ss, beta-1, beta, depth-R, false, true);
+ // Do verification search at high depths, with null move pruning disabled
+ // for us, until ply exceeds nmp_min_ply.
+ thisThread->nmp_min_ply = ss->ply + 3 * (depth-R) / 4 - 1;
+ thisThread->nmp_color = us;