Skip to content

Commit 60098f2

Browse files
authored
Correct suffix code
Fixes #161
1 parent 5d20c37 commit 60098f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fragment-generation-utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ const FragmentFactory = class {
630630
while (i < desiredIterations &&
631631
this.suffixOffset < this.getSuffixSearchSpace().length) {
632632
this.suffixOffset = this.getNextOffsetForwards(
633-
this.getSuffixSegments(), this.suffixOffset, this.suffixOffset);
633+
this.getSuffixSegments(), this.suffixOffset, this.getSuffixSearchSpace());
634634
i++;
635635
}
636636
} else {

0 commit comments

Comments
 (0)