diff --git a/src/marlin_pc/data_structures.rs b/src/marlin_pc/data_structures.rs index c3bfe997..1301a959 100644 --- a/src/marlin_pc/data_structures.rs +++ b/src/marlin_pc/data_structures.rs @@ -294,8 +294,12 @@ impl PCPreparedCommitment> for PreparedCommitmen Eq(bound = "") )] pub struct Randomness> { - pub(crate) rand: kzg10::Randomness, - pub(crate) shifted_rand: Option>, + /// Commitment randomness for a KZG10 commitment. + pub rand: kzg10::Randomness, + /// Commitment randomness for a KZG10 commitment to the shifted polynomial. + /// This is `None` if the committed polynomial does not enforce a strict + /// degree bound. + pub shifted_rand: Option>, } impl<'a, F: PrimeField, P: UVPolynomial> Add<&'a Self> for Randomness {