X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=cdd38407c6dff60b23c166e812d20d2da80f1659;hp=88160ef2529df13179ce9cb8839090ec2aa9fa2d;hb=57b3ca916fdf12ad4ad3dfdcd215379e908b12be;hpb=12f4bbc8f2b6122d9dc0949f3483e7dd3f26a829 diff --git a/src/search.cpp b/src/search.cpp index 88160ef2..cdd38407 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -378,7 +378,7 @@ int64_t perft(Position& pos, Depth depth) int64_t sum = 0; // Generate all legal moves - MoveStack* last = generate_moves(pos, mlist); + MoveStack* last = generate(pos, mlist); // If we are at the last ply we don't need to do and undo // the moves, just to count them. @@ -2671,7 +2671,7 @@ split_point_start: // At split points actual search starts from here ss[0].eval = ss[0].evalMargin = VALUE_NONE; // Generate all legal moves - MoveStack* last = generate_moves(pos, mlist); + MoveStack* last = generate(pos, mlist); // Add each move to the RootMoveList's vector for (MoveStack* cur = mlist; cur != last; cur++)