Skip to content

Commit

Permalink
Merge pull request #2871 from o1-labs/mvpoly/remove-flaky-test
Browse files Browse the repository at this point in the history
MVPoly/PBT: remove a flaky test for multilinearity
  • Loading branch information
dannywillems authored Dec 11, 2024
2 parents 021346d + eb0c6a9 commit 3fb37d2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions mvpoly/src/pbt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -556,12 +556,6 @@ pub fn test_is_multilinear<F: PrimeField, const N: usize, const D: usize, T: MVP
p.add_monomial(monomials_exponents, c);
assert!(p.is_multilinear());
}

// Test with a random polynomial (very unlikely to be multilinear)
{
let p = unsafe { T::random(&mut rng, None) };
assert!(!p.is_multilinear());
}
}

pub fn test_is_constant<F: PrimeField, const N: usize, const D: usize, T: MVPoly<F, N, D>>() {
Expand Down

0 comments on commit 3fb37d2

Please sign in to comment.