Implicit conversion of round numbers to integers (#4542)

Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
Nick Cameron
2024-11-25 10:50:43 +13:00
committed by GitHub
parent 66f6b741c4
commit 4fe17fe3ab
174 changed files with 1603 additions and 1518 deletions

View File

@ -5,7 +5,7 @@
fn cond = (bools) => {
return (a, b) => {
x = int(min(max(-1, a-b), 1) + 1)
x = min(max(-1, a-b), 1) + 1
return bools[x]
}
}