fix "ab"⍷⟨⟩
This commit is contained in:
parent
add8ba353e
commit
ce31945124
@ -283,10 +283,12 @@ B find_c2(B t, B w, B x) {
|
|||||||
emptyres:;
|
emptyres:;
|
||||||
Arr* ra = allZeroes(0);
|
Arr* ra = allZeroes(0);
|
||||||
usz* rsh = arr_shAlloc(ra, xr);
|
usz* rsh = arr_shAlloc(ra, xr);
|
||||||
usz* wsh=SH(w); usz* xsh=SH(x);
|
if (rsh) {
|
||||||
shcpy(rsh, xsh, xr-wr);
|
usz* wsh=SH(w); usz* xsh=SH(x);
|
||||||
xsh+=xr-wr; rsh+=xr-wr;
|
shcpy(rsh, xsh, xr-wr);
|
||||||
PLAINLOOP for (ux i = 0; i < wr; i++) rsh[i] = wsh[i]>xsh[i]? 0 : xsh[i]-wsh[i]+1;
|
xsh+=xr-wr; rsh+=xr-wr;
|
||||||
|
PLAINLOOP for (ux i = 0; i < wr; i++) rsh[i] = wsh[i]>xsh[i]? 0 : xsh[i]-wsh[i]+1;
|
||||||
|
}
|
||||||
r = taga(ra);
|
r = taga(ra);
|
||||||
goto dec_ret;
|
goto dec_ret;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user