X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fposition.cpp;h=a1643d6d280d878feb0405576efc5685d0a6c7a9;hb=c357c4ad6f7318234c4d745eaa6b0c4774e28741;hp=ae1da017770cd34ea79eabfc961a27359eb0ad61;hpb=385deefd807b512a1c404f5cc4c2045f265a800d;p=stockfish diff --git a/src/position.cpp b/src/position.cpp index ae1da017..a1643d6d 100644 --- a/src/position.cpp +++ b/src/position.cpp @@ -1,6 +1,6 @@ /* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 - Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file) + Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -283,8 +283,6 @@ Position& Position::set(const string& fenStr, bool isChess960, StateInfo* si, Th thisThread = th; set_state(st); - assert(pos_is_ok()); - return *this; }