X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmove.cpp;h=ff0adbe5b6d7cfce860b30b732d7dc17e7cccd0f;hb=bb7713c8e92c9373f0294a4317101cccda0e17e5;hp=96215e82478e7348654c1ce9ad5dd1e84946d874;hpb=c9d7e99de682516c560009b550c41da9ae2008b8;p=stockfish diff --git a/src/move.cpp b/src/move.cpp index 96215e82..ff0adbe5 100644 --- a/src/move.cpp +++ b/src/move.cpp @@ -66,7 +66,8 @@ const string move_to_uci(Move m, bool chess960) { /// move_from_uci() takes a position and a string representing a move in -/// simple coordinate notation and returns an equivalent Move. +/// simple coordinate notation and returns an equivalent Move if any. +/// Moves are guaranteed to be legal. Move move_from_uci(const Position& pos, const string& str) {