Skip to content

Commit

Permalink
pub budget
Browse files Browse the repository at this point in the history
  • Loading branch information
ooovi committed Sep 4, 2023
1 parent eae7e4e commit cfef6a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/dp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ pub trait DifferentialPrivacyDistribution {}
/// [BS16]: https://arxiv.org/pdf/1605.02065.pdf
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq, Eq)]
pub struct ZCdpBudget {
epsilon: Ratio<BigUint>,
pub epsilon: Ratio<BigUint>,
}

impl ZCdpBudget {
Expand Down
2 changes: 1 addition & 1 deletion src/dp/distributions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ pub struct DiscreteGaussianDpStrategy<B>
where
B: DifferentialPrivacyBudget + std::fmt::Debug,
{
budget: B,
pub budget: B,
}

/// A DP strategy using the discrete gaussian distribution providing zero-concentrated DP.
Expand Down

0 comments on commit cfef6a7

Please sign in to comment.