From 58efd0268c50f36c02b1372c2c47a48080f361fb Mon Sep 17 00:00:00 2001 From: Calcitem Date: Sat, 28 Nov 2020 11:41:01 +0800 Subject: [PATCH] =?UTF-8?q?search:=20=E8=A7=A3=E5=86=B3=E8=87=AA=E5=AF=B9?= =?UTF-8?q?=E5=BC=88=E6=97=B6=E4=B8=8D=E8=83=BD=E6=AD=A3=E5=B8=B8=E5=88=A4?= =?UTF-8?q?=E6=96=AD=E4=B8=89=E6=AC=A1=E9=87=8D=E5=A4=8D=E5=B1=80=E9=9D=A2?= =?UTF-8?q?=E5=92=8C=E5=AF=BC=E8=87=B4=E6=AD=BB=E5=BE=AA=E7=8E=AF=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/search.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index 263c746d..4103e78e 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -117,9 +117,9 @@ int Thread::search() nRepetition = 0; return 3; } - } else { - moveHistory.push_back(key); } + + moveHistory.push_back(key); } if (rootPos->get_phase() == PHASE_PLACING) {