mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 14:27:45 +00:00
Small cleanups
remove some unneeded assignments, typos, incorrect comments, add authors entry. closes https://github.com/official-stockfish/Stockfish/pull/4417 no functional change
This commit is contained in:
committed by
Joost VandeVondele
parent
7077fbdd14
commit
f0556dcbe3
@@ -363,7 +363,7 @@ namespace Stockfish::Eval::NNUE {
|
||||
// NOTE: The parameter states_to_update is an array of position states, ending with nullptr.
|
||||
// All states must be sequential, that is states_to_update[i] must either be reachable
|
||||
// by repeatedly applying ->previous from states_to_update[i+1] or states_to_update[i] == nullptr.
|
||||
// computed_st must be reachable by repeatadly applying ->previous on states_to_update[0], if not nullptr.
|
||||
// computed_st must be reachable by repeatedly applying ->previous on states_to_update[0], if not nullptr.
|
||||
template<Color Perspective, size_t N>
|
||||
void update_accumulator_incremental(const Position& pos, StateInfo* computed_st, StateInfo* states_to_update[N]) const {
|
||||
static_assert(N > 0);
|
||||
|
||||
Reference in New Issue
Block a user