Skip to content

Commit

Permalink
precomp: tune tests
Browse files Browse the repository at this point in the history
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
  • Loading branch information
jsign committed Sep 28, 2023
1 parent 9d6a08d commit a95e6b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/msm/precomp.zig
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ test "correctness" {
scalars[i] = Fr.fromInteger((i + 0x93434) *% 0x424242);
}

for (1..crs.DomainSize + 1) |msm_length| {
var msm_length: usize = 0;
while (msm_length <= crs.DomainSize) : (msm_length += 32) {
const msm_scalars = scalars[0..msm_length];

var full_scalars: [crs.DomainSize]Fr = undefined;
Expand Down

0 comments on commit a95e6b1

Please sign in to comment.