fix try_interleave_cells on copying TO_BPTR
This commit is contained in:
parent
c0e3a3711f
commit
e9cf8ac330
@ -146,9 +146,11 @@ B try_interleave_cells(B w, B x, ur xr, ur xk, usz* xsh) {
|
|||||||
#if SINGELI
|
#if SINGELI
|
||||||
else if (csz==1 && re==el_B) {
|
else if (csz==1 && re==el_B) {
|
||||||
if (we!=xe) goto to_equal_types;
|
if (we!=xe) goto to_equal_types;
|
||||||
|
incG(w); incG(x);
|
||||||
B* wp = TO_BPTR(w); B* xp = TO_BPTR(x);
|
B* wp = TO_BPTR(w); B* xp = TO_BPTR(x);
|
||||||
HArr_p p = m_harrUv(ia); // Debug build complains with harrUp
|
HArr_p p = m_harrUv(ia); // Debug build complains with harrUp
|
||||||
si_interleave[3](p.a, wp, xp, n);
|
si_interleave[3](p.a, wp, xp, n);
|
||||||
|
decG(w); decG(x);
|
||||||
for (usz i=0; i<ia; i++) inc(p.a[i]);
|
for (usz i=0; i<ia; i++) inc(p.a[i]);
|
||||||
NOGC_E;
|
NOGC_E;
|
||||||
B rb = p.b;
|
B rb = p.b;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user