Skip to content

Commit

Permalink
fix another shifted case
Browse files Browse the repository at this point in the history
  • Loading branch information
Tabaie committed Dec 17, 2024
1 parent 528bc70 commit 157c9ea
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions backend/groth16/bn254/mpcsetup/unit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,14 @@ func TestLinearCombinationsG1(t *testing.T) {
acc.Add(&acc, &g1)
}

testLinearCombinationsG1(
[]int{3},
frs(1, 1, 1),
frs(1, 1, 0),
frs(0, 1, 1),
infty, g1, infty,
)

testLinearCombinationsG1(
[]int{3},
frs(1, 1, 1),
Expand Down
2 changes: 1 addition & 1 deletion backend/groth16/bn254/mpcsetup/utils.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 157c9ea

Please sign in to comment.