X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmovepick.cpp;h=dd4743703f6ec9fae93f71c9e0c2d40fd17559a2;hp=05cd0052ad4cbe03732007fee8e033b4ddbfc853;hb=6a5dc14251451c6b8618f3d567d5eda420012ddf;hpb=d55a5a4d81b613e5a82e428770347b06fbd2d9a8 diff --git a/src/movepick.cpp b/src/movepick.cpp index 05cd0052..dd474370 100644 --- a/src/movepick.cpp +++ b/src/movepick.cpp @@ -313,7 +313,7 @@ Move MovePicker::get_next_move() { // Sort negative scored moves only when we get there if (curMove == lastGoodNonCapture) - insertion_sort(lastGoodNonCapture, lastMove); + insertion_sort(lastGoodNonCapture, lastMove); move = (curMove++)->move; if ( move != ttMoves[0].move