BREAKING: Migrate math functions to keyword args (#6491)
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
|
||||
fn cond = (bools) => {
|
||||
return (a, b) => {
|
||||
x = min(max(-1, a-b), 1) + 1
|
||||
x = min([max([-1, a-b]), 1]) + 1
|
||||
return bools[x]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user