use FILL_TO for more compact edge-case handling
This commit is contained in:
parent
1241da4d74
commit
a1e12106ce
@ -107,7 +107,7 @@ static B group_simple(B w, B x, ur xr, usz wia, usz xia, usz* xsh, u8 we) {
|
|||||||
}
|
}
|
||||||
// Needed to make sure wia>0 for ip[wia-1] below
|
// Needed to make sure wia>0 for ip[wia-1] below
|
||||||
if (neg==xia) {
|
if (neg==xia) {
|
||||||
for (usz i = 0; i < ria; i++) rp[i] = inc(z);
|
FILL_TO(rp, el_B, 0, z, ria);
|
||||||
goto dec_ret;
|
goto dec_ret;
|
||||||
}
|
}
|
||||||
TALLOC(i32, pos, 2*ria+1); i32* len = pos+ria+1;
|
TALLOC(i32, pos, 2*ria+1); i32* len = pos+ria+1;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user