Skip to content

Commit

Permalink
ordering ZCdpDiscreteGaussians
Browse files Browse the repository at this point in the history
  • Loading branch information
ooovi committed Sep 8, 2023
1 parent d2cdd4c commit d6a9985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dp/distributions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ impl Distribution<BigInt> for DiscreteGaussian {
impl DifferentialPrivacyDistribution for DiscreteGaussian {}

/// A DP strategy using the discrete gaussian distribution.
#[derive(Clone, PartialEq, Serialize, Deserialize, Eq, Debug)]
#[derive(Clone, PartialEq, Serialize, Deserialize, Eq, Debug, Ord, PartialOrd)]
pub struct DiscreteGaussianDpStrategy<B>
where
B: DifferentialPrivacyBudget + std::fmt::Debug,
Expand Down

0 comments on commit d6a9985

Please sign in to comment.