search: 解决自对弈时不能正常判断三次重复局面和导致死循环的问题
This commit is contained in:
parent
8758ea0c32
commit
58efd0268c
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue