Skip to content

Commit

Permalink
offby1
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleynh committed Dec 19, 2024
1 parent 1be536e commit 564e54e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/passes/hash-stringify-walker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ std::vector<SuffixTree::RepeatedSubstring> StringifyProcessor::removeOverlaps(
for (auto startIdx : substring.StartIndices) {
auto interval =
Interval(startIdx,
startIdx + substring.Length,
startIdx + substring.Length - 1,
substring.Length * substring.StartIndices.size());
intervals.push_back(interval);
intervalMap[std::move(interval)] = i;
Expand Down

0 comments on commit 564e54e

Please sign in to comment.