Base sum gate (#7)

* initial version of base_sum_gate

* add recursive circuit benchmark files

* added step circuit data and contant gate test

* moved step testing data into gate_testing_utils

* added test case for basesum gate

* added test for arithmetic_gate
This commit is contained in:
Kevin Jue
2023-05-16 11:13:42 -07:00
committed by GitHub
parent 11f5ee28c6
commit a0d5ad37de
16 changed files with 76099 additions and 3 deletions

View File

@@ -150,7 +150,7 @@ func (c *QuadraticExtensionAPI) Lookup2(b0 frontend.Variable, b1 frontend.Variab
func (c *QuadraticExtensionAPI) AssertIsEqual(a, b QuadraticExtension) {
for i := 0; i < 2; i++ {
c.fieldAPI.AssertIsEqual(a[0], b[0])
c.fieldAPI.AssertIsEqual(a[i], b[i])
}
}