X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fposition.cpp;h=ad0a621de0b954ce9078aedd0caf860bbcc93473;hp=310e46e36190704121571efff452399bf53911a9;hb=733d0099b2a3e3ad594bb551d37c8a06c62f13db;hpb=0be7b8c54207a5a435ed38f0b8e42ad9a8cc9935 diff --git a/src/position.cpp b/src/position.cpp index 310e46e3..ad0a621d 100644 --- a/src/position.cpp +++ b/src/position.cpp @@ -802,7 +802,7 @@ void Position::do_move(Move m, StateInfo& newSt, const CheckInfo& ci, bool moveI // Update piece list, move the last piece at index[capsq] position and // shrink the list. // - // WARNING: This is a not revresible operation. When we will reinsert the + // WARNING: This is a not reversible operation. When we will reinsert the // captured piece in undo_move() we will put it at the end of the list and // not in its original place, it means index[] and pieceList[] are not // guaranteed to be invariant to a do_move() + undo_move() sequence.