]> git.sesse.net Git - stockfish/commit
Allow Position::init() to be called multiple times.
authorGian-Carlo Pascutto <gcp@sjeng.org>
Tue, 17 Jul 2018 21:13:12 +0000 (23:13 +0200)
committerStéphane Nicolet <cassio@free.fr>
Wed, 18 Jul 2018 06:14:57 +0000 (08:14 +0200)
commite0f317afaad77bdc265a586f06a30066b5129e4f
tree0215e280cbb72d38374fcbd6e70982ab04c34db9
parenta6fa6a9e92a19c85bc00c96617f338279243baeb
Allow Position::init() to be called multiple times.

For the rationale to allow this, see commit
a66c73deef420104e74b6645ee60e20b37fd8549

This was broken when cuckoo hashing was added, and
subtly broke (for example) lichess' Android application,
thus illustrating the original judgement was sound.

No functional change.
src/position.cpp