]> git.sesse.net Git - stockfish/blobdiff - src/movepick.cpp
Restore PorbCut name
[stockfish] / src / movepick.cpp
index 41b85f074ae0994a86c6615707ad03bb5be925b2..09f7611c527b8e397f6422c2901f7a48854726cd 100644 (file)
@@ -210,10 +210,10 @@ void MovePicker::score<EVASIONS>() {
 }
 
 
-/// generate_next() generates, scores and sorts the next bunch of moves, when
-/// there are no more moves to try for the current phase.
+/// generate_next_stage() generates, scores and sorts the next bunch of moves,
+/// when there are no more moves to try for the current stage.
 
-void MovePicker::generate_next() {
+void MovePicker::generate_next_stage() {
 
   cur = moves;
 
@@ -305,7 +305,7 @@ Move MovePicker::next_move<false>() {
   while (true)
   {
       while (cur == end)
-          generate_next();
+          generate_next_stage();
 
       switch (stage) {