-
I would like to call api.Select inside a for loop and I obtain the following error: This is my code: import ( // MyCircuit defines a simple circuit // Define declares the circuit constraints
} func main() {
}` |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
|
Beta Was this translation helpful? Give feedback.
Cmp
returns either -1, 0 or 1 depending if x < y, x == y or x > y, but select assumes that input is either 0 or 1.