fix c32arr-i32arr error checking
This commit is contained in:
parent
b84e6e549b
commit
2b351cfee6
@ -178,8 +178,7 @@ GC2i(sub, wv-xv, {
|
|||||||
dec(w);
|
dec(w);
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
if (isArr(x)) {
|
if (isArr(x) && eqShape(w, x)) {
|
||||||
if (!eqShape(w, x)) thrF("-: Expected equal shape prefix (%H ≡ ≢𝕨, %H ≡ ≢𝕩)", w, x);
|
|
||||||
u32* wp = c32any_ptr(w); usz wia = a(w)->ia;
|
u32* wp = c32any_ptr(w); usz wia = a(w)->ia;
|
||||||
if (TI(x).elType==el_i32) {
|
if (TI(x).elType==el_i32) {
|
||||||
u32* rp; B r = m_c32arrc(&rp, w);
|
u32* rp; B r = m_c32arrc(&rp, w);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user