Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
mmagician committed Oct 23, 2023
1 parent 14eb52a commit 8c28679
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion poly/src/evaluations/multivariate/multilinear/sparse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,10 @@ mod tests {
SparseMultilinearExtension::from_evaluations(1, &vec![(0, ev2[0]), (1, ev2[1])]);

let x = Fr::rand(&mut rng);
assert_eq!(poly2.evaluate(&[x].into()), x * ev2[1] + (Fr::one() - x) * ev2[0]);
assert_eq!(
poly2.evaluate(&[x].into()),
x * ev2[1] + (Fr::one() - x) * ev2[0]
);

// test single-variate polynomial with one entry missing
let ev3 = Fr::rand(&mut rng);
Expand Down

0 comments on commit 8c28679

Please sign in to comment.