X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsyzygy%2Ftbprobe.cpp;h=48c448fd0dfeb8077f740d581acdae5a324fdd39;hp=5d08549e5046f29f2876e6b3439ab0f8e041f794;hb=27ba611a3da37423a3502e49beeebe11c9a11d8e;hpb=f907d5b7d93a161bc88aeaec403631de9de092f9 diff --git a/src/syzygy/tbprobe.cpp b/src/syzygy/tbprobe.cpp index 5d08549e..48c448fd 100644 --- a/src/syzygy/tbprobe.cpp +++ b/src/syzygy/tbprobe.cpp @@ -531,14 +531,14 @@ int decompress_pairs(PairsData* d, uint64_t idx) { // // I(k) = k * d->span + d->span / 2 (1) - // First step is to get the 'k' of the I(k) nearest to our idx, using defintion (1) + // First step is to get the 'k' of the I(k) nearest to our idx, using definition (1) uint32_t k = idx / d->span; // Then we read the corresponding SparseIndex[] entry uint32_t block = number(&d->sparseIndex[k].block); int offset = number(&d->sparseIndex[k].offset); - // Now compute the difference idx - I(k). From defintion of k we know that + // Now compute the difference idx - I(k). From definition of k we know that // // idx = k * d->span + idx % d->span (2) //