Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
serendipity-crypto committed Aug 16, 2024
1 parent 5f1f855 commit 3ec5a48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fhe_core/src/parameter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ impl<C: LWEModulusType, Q: NTTField> Parameters<C, Q> {
let twice_ring_dimension_modulus = twice_ring_dimension_value.to_power_of_2_modulus();

// `q|2N` or `2N|q`
#[allow(clippy::comparison_chain)]
let process_before_blind_rotation = if q == twice_ring_dimension {
ProcessBeforeBlindRotation {
process: ProcessType::Noop,
Expand Down

0 comments on commit 3ec5a48

Please sign in to comment.