Skip to content

Commit 4391578

Browse files
committed
coul: fix bug in recovery without -W
On recovery of a run without -W, we could wrongly think that it was a run _with_ -W due to a missing guard.
1 parent 42dbb52 commit 4391578

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coul.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2665,7 +2665,7 @@ e_is insert_stack(void) {
26652665
fail("failed to inject %lu^%u at v_%u", pp.p, pp.e, vi);
26662666
}
26672667
}
2668-
if (midp < maxp) {
2668+
if (midp && midp < maxp) {
26692669
if (jump != IS_DEEPER)
26702670
fail("data mismatch");
26712671
jump = IS_MIDP;

0 commit comments

Comments
 (0)