nodchip / Stockfish

UCI chess engine
http://www.stockfishchess.com/
GNU General Public License v3.0
100 stars 25 forks source link

Don't unload evalfile on set nnue false #289

Closed Sopel97 closed 3 years ago

Sopel97 commented 3 years ago

bench repeatedly does use nnue value true use nnue value false and it constantly unloads and loads the evalfile. This makes the mixed bench meaningless. This PR makes it not unload the previously loaded evalfile. It's not needed to unload is, it's enough that useNNUE is set to false.

nodchip commented 3 years ago

The change looks good to me. Thank you.