fix unshare with heuristic randomization
This commit is contained in:
parent
b768332c03
commit
4296c42534
@ -276,7 +276,7 @@ static B unshare(B x) { // doesn't consume
|
||||
Arr* r = arr_shCopy(m_fillarr0p(xia), x);
|
||||
fillarr_setFill(r, unshare(getFillR(x)));
|
||||
B* rp = fillarrv_ptr(r);
|
||||
B* xp = arr_bptr(x);
|
||||
B* xp = arr_bptrG(x);
|
||||
for (usz i = 0; i < xia; i++) rp[i] = unshare(xp[i]);
|
||||
return unshareShape(r);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user