mirror of
https://github.com/logos-storage/nim-groth16.git
synced 2026-04-18 02:03:11 +00:00
chore: update setInf for constantine 0.2.0
Co-Authored-By: Dmitriy Ryajov <dryajov@gmail.com>
This commit is contained in:
parent
0f2a84ec33
commit
7f66c7ce48
@ -163,7 +163,7 @@ func msmNaiveG1*( coeffs: seq[Fr[BN254_Snarks]] , points: seq[G1] ): G1 =
|
||||
assert( N == points.len, "incompatible sequence lengths" )
|
||||
|
||||
var s : ProjG1
|
||||
s.setInf()
|
||||
s.setNeutral()
|
||||
|
||||
for i in 0..<N:
|
||||
var t : ProjG1
|
||||
@ -183,7 +183,7 @@ func msmNaiveG2*( coeffs: seq[Fr[BN254_Snarks]] , points: seq[G2] ): G2 =
|
||||
assert( N == points.len, "incompatible sequence lengths" )
|
||||
|
||||
var s : ProjG2
|
||||
s.setInf()
|
||||
s.setNeutral()
|
||||
|
||||
for i in 0..<N:
|
||||
var t : ProjG2
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user