Skip to content

Commit 55643ba

Browse files
didier-durandvondele
authored andcommitted
Fix some doc typos
closes #6400 No functional change
1 parent 8551f86 commit 55643ba

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/history.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ using Stats = MultiArray<StatsEntry<T, D>, Sizes...>;
104104
// see https://www.chessprogramming.org/Butterfly_Boards
105105
using ButterflyHistory = Stats<std::int16_t, 7183, COLOR_NB, int(SQUARE_NB) * int(SQUARE_NB)>;
106106

107-
// LowPlyHistory is adressed by play and move's from and to squares, used
107+
// LowPlyHistory is addressed by play and move's from and to squares, used
108108
// to improve move ordering near the root
109109
using LowPlyHistory =
110110
Stats<std::int16_t, 7183, LOW_PLY_HISTORY_SIZE, int(SQUARE_NB) * int(SQUARE_NB)>;

src/numa.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1346,7 +1346,7 @@ class LazyNumaReplicatedSystemWide: public NumaReplicatedBase {
13461346
std::size_t get_discriminator(NumaIndex idx) const {
13471347
const NumaConfig& cfg = get_numa_config();
13481348
const NumaConfig& cfg_sys = NumaConfig::from_system(false);
1349-
// as a descriminator, locate the hardware/system numadomain this cpuindex belongs to
1349+
// as a discriminator, locate the hardware/system numadomain this cpuindex belongs to
13501350
CpuIndex cpu = *cfg.nodes[idx].begin(); // get a CpuIndex from NumaIndex
13511351
NumaIndex sys_idx = cfg_sys.is_cpu_assigned(cpu) ? cfg_sys.nodeByCpu.at(cpu) : 0;
13521352
std::string s = cfg_sys.to_string() + "$" + std::to_string(sys_idx);

tests/instrumented.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ def parse_args():
508508

509509
framework = MiniTestFramework()
510510

511-
# Each test suite will be ran inside a temporary directory
511+
# Each test suite will be run inside a temporary directory
512512
framework.run([TestCLI, TestInteractive, TestSyzygy])
513513

514514
EPD.delete_bench_epd()

0 commit comments

Comments
 (0)