Output adds the given variable to the circuit's output.
(x_ frontend.Variable)
| 409 | |
| 410 | // Output adds the given variable to the circuit's output. |
| 411 | func (builder *builder) Output(x_ frontend.Variable) { |
| 412 | if builder.root.builder != builder { |
| 413 | panic("Output can only be called on root circuit") |
| 414 | } |
| 415 | x := builder.toVariableId(x_) |
| 416 | builder.output = append(builder.output, x) |
| 417 | } |
nothing calls this directly
no test coverage detected