From 55643baa3f6be3265598fba7c7e8b308fe6ccbcf Mon Sep 17 00:00:00 2001 From: Didier Durand Date: Fri, 7 Nov 2025 17:23:26 +0100 Subject: [PATCH] Fix some doc typos closes https://github.com/official-stockfish/Stockfish/pull/6400 No functional change --- src/history.h | 2 +- src/numa.h | 2 +- tests/instrumented.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/history.h b/src/history.h index 940e98991..445d54181 100644 --- a/src/history.h +++ b/src/history.h @@ -104,7 +104,7 @@ using Stats = MultiArray, Sizes...>; // see https://www.chessprogramming.org/Butterfly_Boards using ButterflyHistory = Stats; -// 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; diff --git a/src/numa.h b/src/numa.h index 261b6005d..76d265af2 100644 --- a/src/numa.h +++ b/src/numa.h @@ -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); diff --git a/tests/instrumented.py b/tests/instrumented.py index db5ec8e08..23de446ef 100644 --- a/tests/instrumented.py +++ b/tests/instrumented.py @@ -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()