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:
pb00067
2023-03-01 10:29:51 +01:00
committed by Joost VandeVondele
parent 7077fbdd14
commit f0556dcbe3
4 changed files with 2 additions and 6 deletions
+1 -1
View File
@@ -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);