]> git.sesse.net Git - stockfish/commitdiff
Fix bogus comment in extract_pv()
authorMarco Costalba <mcostalba@gmail.com>
Tue, 6 Oct 2009 10:15:05 +0000 (11:15 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Tue, 6 Oct 2009 10:15:05 +0000 (11:15 +0100)
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/tt.cpp

index 5e1dfe1788e8432e44b511e8fce8df25d19aa8f2..a16d5cac636496888b9f7e506aad67902907b92c 100644 (file)
@@ -231,7 +231,7 @@ void TranspositionTable::extract_pv(const Position& pos, Move pv[], int pvSize)
   while (pv[ply] != MOVE_NONE)
       p.do_move(pv[ply++], st);
 
   while (pv[ply] != MOVE_NONE)
       p.do_move(pv[ply++], st);
 
-  // Try to add moves from TT until possible
+  // Try to add moves from TT while possible
   while (   (tte = retrieve(p.get_key())) != NULL
          && tte->move() != MOVE_NONE
          && move_is_legal(p, tte->move())
   while (   (tte = retrieve(p.get_key())) != NULL
          && tte->move() != MOVE_NONE
          && move_is_legal(p, tte->move())