chore(shortint): fix typo in comment

This commit is contained in:
Nicolas Sarlin
2025-01-27 13:49:49 +01:00
committed by Nicolas Sarlin
parent 009257b63e
commit 6ad29e4540
4 changed files with 4 additions and 4 deletions

View File

@@ -60,7 +60,7 @@ pub struct GgswCiphertextCount(pub usize);
pub struct LweSize(pub usize);
impl LweSize {
/// Return the associated [`LweDimension`, Versionize].
/// Return the associated [`LweDimension`].
pub fn to_lwe_dimension(&self) -> LweDimension {
LweDimension(self.0 - 1)
}

View File

@@ -91,7 +91,7 @@ impl From<std::convert::Infallible> for Error {
pub enum InvalidRangeError {
/// The upper bound of the range is greater than the size of the integer
SliceTooBig,
/// The upper gound is smaller than the lower bound
/// The upper bound is smaller than the lower bound
WrongOrder,
}

View File

@@ -45,7 +45,7 @@ impl ServerKey {
}
/// Decompresses a signed compressed ciphertext
/// This operation costs a PBS
///
///
/// See [`CompressedModulusSwitchedSignedRadixCiphertext#example`] for usage
pub fn decompress_signed_parallelized(
&self,

View File

@@ -1,6 +1,6 @@
//! This module defines KeySwitchingKey
//!
//! - [KeySwitchingKey] allows switching the keys of a ciphertext, from a cleitn key to another.
//! - [KeySwitchingKey] allows switching the keys of a ciphertext, from a client key to another.
use crate::conformance::ParameterSetConformant;
use crate::core_crypto::prelude::{