Fix 2‿2↕3‿3‿3⥊↕27

This commit is contained in:
dzaima 2023-10-12 12:42:10 +03:00
parent 9c68e67544
commit 4322303031

View File

@ -166,14 +166,14 @@ B ud_c2(B t, B w, B x) {
for (usz i=0; i<fr-1; i++) ri[i]=0;
for (usz i=0, j=0;;) {
mut_copyG(r, i, x, j, k);
usz str = cia*xsh[xr-1];
usz str = cia*xsh[wr-1];
i+= k;
if (i == ria) break;
j+= str;
for (usz a=fr-2, b=xr-2; RARE(++ri[a] == rsh[a]); ) {
for (usz a=fr-2, b=wr-2; RARE(++ri[a] == rsh[a]); ) {
ri[a] = 0;
j-= rsh[a] * str;
str *= xsh[b]; if (!b) { str=cia; b=xr; }
str *= xsh[b]; if (!b) { str=cia; b=wr; }
a--; b--;
j+= str;
}