mirror of
https://github.com/arnaucube/gnark-plonky2-verifier.git
synced 2026-01-12 09:01:32 +01:00
Added reduce to benchmark
This commit is contained in:
@@ -51,6 +51,8 @@ func (c *TestGoldilocksRangeCheckBenchmarkCircuit) Define(api frontend.API) erro
|
|||||||
glApi := NewGoldilocksApi(api)
|
glApi := NewGoldilocksApi(api)
|
||||||
for _, x := range c.X {
|
for _, x := range c.X {
|
||||||
glApi.RangeCheck(NewVariable(x))
|
glApi.RangeCheck(NewVariable(x))
|
||||||
|
glApi.Reduce(NewVariable(x))
|
||||||
|
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user