Skip to content

Commit

Permalink
fix spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Case committed May 24, 2024
1 parent 855c23b commit 6c05b4a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions ipa-core/src/ff/boolean.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use std::iter::Once;

use bitvec::prelude::BitSlice;
use generic_array::GenericArray;
use typenum::U1;
Expand All @@ -12,7 +13,6 @@ use crate::{
},
secret_sharing::{Block, FieldVectorizable, SharedValue, StdArray, Vectorizable},
};

impl Block for bool {
type Size = U1;
}
Expand Down Expand Up @@ -70,7 +70,6 @@ impl Vectorizable<1> for Boolean {
type Array = StdArray<Boolean, 1>;
}


impl FieldVectorizable<1> for Boolean {
type ArrayAlias = StdArray<Boolean, 1>;
}
Expand Down
8 changes: 4 additions & 4 deletions ipa-core/src/protocol/ipa_prf/aggregation/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ where
B,
false,
)
.await
.await
}
},
|| AttributionOutputs {
Expand Down Expand Up @@ -279,7 +279,7 @@ where
&a,
&b,
)
.await?;
.await?;
sum.push(carry);
Ok(sum)
} else {
Expand All @@ -293,7 +293,7 @@ where
&a,
&b,
)
.await
.await
}
}
}
Expand Down Expand Up @@ -565,7 +565,7 @@ pub mod tests {
// saturated addition at the output.
const PROP_MAX_INPUT_LEN: usize = 10;
const PROP_MAX_TV_BITS: usize = 3; // Limit: (1 << TV_BITS) must fit in u32
const PROP_BUCKETS: usize = 8;
const PROP_BUCKETS: usize = 8;
type PropHistogramValue = BA8;

// We want to capture everything in this struct for visibility in the output of failing runs,
Expand Down

0 comments on commit 6c05b4a

Please sign in to comment.