зеркало из https://github.com/microsoft/SEAL.git
Fixed some typos and a bug
This commit is contained in:
Родитель
42865136f3
Коммит
fd5591f047
|
@ -650,7 +650,7 @@ namespace Microsoft.Research.SEAL
|
|||
/// <summary>
|
||||
/// Returns a reference to the correction factor. This is only needed when using the
|
||||
/// BGV encryption scheme. The user should have little or no reason to ever
|
||||
/// change the scale by hand.
|
||||
/// change the correction factor by hand.
|
||||
/// </summary>
|
||||
public ulong CorrectionFactor
|
||||
{
|
||||
|
|
|
@ -653,7 +653,7 @@ namespace seal
|
|||
|
||||
/**
|
||||
Returns a reference to the correction factor. This is only needed when using the BGV encryption scheme. The user
|
||||
should have little or no reason to ever change the scale by hand.
|
||||
should have little or no reason to ever change the correction factor by hand.
|
||||
*/
|
||||
SEAL_NODISCARD inline std::uint64_t &correction_factor() noexcept
|
||||
{
|
||||
|
|
|
@ -1590,7 +1590,7 @@ namespace seal
|
|||
throw invalid_argument("pool is uninitialized");
|
||||
}
|
||||
|
||||
mod_reduce_to_next(encrypted, encrypted, std::move(pool));
|
||||
mod_switch_drop_to_next(encrypted, encrypted, std::move(pool));
|
||||
#ifdef SEAL_THROW_ON_TRANSPARENT_CIPHERTEXT
|
||||
// Transparent ciphertext output is not allowed.
|
||||
if (encrypted.is_transparent())
|
||||
|
|
Загрузка…
Ссылка в новой задаче