X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=28e231dd98a0811529b165e14b1671e3d6e47fae;hp=73050bdf12534065495807d016753debd2e8ca3b;hb=50edb7cd7353e24e17da8f428e4b12375cf684f7;hpb=6088ac210883c272832360f28c8922ff1514ef87 diff --git a/src/search.cpp b/src/search.cpp index 73050bdf..28e231dd 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1343,7 +1343,7 @@ split_point_start: // At split points actual search starts from here them = ~pos.side_to_move(); ksq = pos.king_square(them); kingAtt = pos.attacks_from(ksq); - pc = pos.piece_on(from); + pc = pos.piece_moved(move); occ = pos.occupied_squares() & ~(1ULL << from) & ~(1ULL << ksq); oldAtt = pos.attacks_from(pc, from, occ); @@ -1906,9 +1906,6 @@ void Thread::idle_loop(SplitPoint* sp_master) { Threads[master].wake_up(); } } - // In helpful master concept a master can help only a sub-tree of its split - // point, and because here is all finished is not possible master is booked. - assert(!is_searching); }