mirror of
https://github.com/facebook/zstd.git
synced 2025-12-14 00:04:37 -05:00
Minor fix
This commit is contained in:
parent
0acb0abd1e
commit
ab6e038482
@ -197,7 +197,7 @@ static FASTCOVER_segment_t FASTCOVER_selectSegment(const FASTCOVER_ctx_t *ctx,
|
|||||||
bestSegment.end = newEnd;
|
bestSegment.end = newEnd;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
/* Half the frequency of hash value of each dmer covered by the chosen segment. */
|
/* Zero the frequency of hash value of each dmer covered by the chosen segment. */
|
||||||
U32 pos;
|
U32 pos;
|
||||||
for (pos = bestSegment.begin; pos != bestSegment.end; ++pos) {
|
for (pos = bestSegment.begin; pos != bestSegment.end; ++pos) {
|
||||||
const size_t i = FASTCOVER_hashPtrToIndex(ctx->samples + pos, parameters.f, ctx->d);
|
const size_t i = FASTCOVER_hashPtrToIndex(ctx->samples + pos, parameters.f, ctx->d);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user