mirror of
https://github.com/zama-ai/tfhe-rs.git
synced 2026-01-10 07:08:03 -05:00
chore(shortint): fix typo in comment
This commit is contained in:
committed by
Nicolas Sarlin
parent
009257b63e
commit
6ad29e4540
@@ -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)
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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::{
|
||||
|
||||
Reference in New Issue
Block a user