Fix some doc typos

closes https://github.com/official-stockfish/Stockfish/pull/6400

No functional change
This commit is contained in:
Didier Durand
2025-11-13 22:32:12 +01:00
committed by Joost VandeVondele
parent 8551f86efc
commit 55643baa3f
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ using Stats = MultiArray<StatsEntry<T, D>, Sizes...>;
// see https://www.chessprogramming.org/Butterfly_Boards
using ButterflyHistory = Stats<std::int16_t, 7183, COLOR_NB, int(SQUARE_NB) * int(SQUARE_NB)>;
// LowPlyHistory is adressed by play and move's from and to squares, used
// LowPlyHistory is addressed by play and move's from and to squares, used
// to improve move ordering near the root
using LowPlyHistory =
Stats<std::int16_t, 7183, LOW_PLY_HISTORY_SIZE, int(SQUARE_NB) * int(SQUARE_NB)>;
+1 -1
View File
@@ -1346,7 +1346,7 @@ class LazyNumaReplicatedSystemWide: public NumaReplicatedBase {
std::size_t get_discriminator(NumaIndex idx) const {
const NumaConfig& cfg = get_numa_config();
const NumaConfig& cfg_sys = NumaConfig::from_system(false);
// as a descriminator, locate the hardware/system numadomain this cpuindex belongs to
// as a discriminator, locate the hardware/system numadomain this cpuindex belongs to
CpuIndex cpu = *cfg.nodes[idx].begin(); // get a CpuIndex from NumaIndex
NumaIndex sys_idx = cfg_sys.is_cpu_assigned(cpu) ? cfg_sys.nodeByCpu.at(cpu) : 0;
std::string s = cfg_sys.to_string() + "$" + std::to_string(sys_idx);
+1 -1
View File
@@ -508,7 +508,7 @@ if __name__ == "__main__":
framework = MiniTestFramework()
# Each test suite will be ran inside a temporary directory
# Each test suite will be run inside a temporary directory
framework.run([TestCLI, TestInteractive, TestSyzygy])
EPD.delete_bench_epd()