Fix unnecessary errors with computed shape 0, such as 1e8‿⌊‿1e8⥊↕5
This commit is contained in:
parent
97bfacec44
commit
7792c60180
@ -147,6 +147,7 @@ B shape_c2(B t, B w, B x) {
|
|||||||
unkPos = i;
|
unkPos = i;
|
||||||
if (!isPrim(c)) thrM("⥊: 𝕨 must consist of natural numbers or ∘ ⌊ ⌽ ↑");
|
if (!isPrim(c)) thrM("⥊: 𝕨 must consist of natural numbers or ∘ ⌊ ⌽ ↑");
|
||||||
unkInd = ((i32)v(c)->flags) - 1;
|
unkInd = ((i32)v(c)->flags) - 1;
|
||||||
|
good|= xia==0 | unkInd==n_floor;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (bad && !good) thrM("⥊: 𝕨 too large");
|
if (bad && !good) thrM("⥊: 𝕨 too large");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user