From 859499e49af36114ab886034800bb5a11cff339c Mon Sep 17 00:00:00 2001 From: "Kim Laine (HE/HIM)" Date: Wed, 28 Dec 2022 11:17:30 -0800 Subject: [PATCH] Added notes to CHANGES.md --- CHANGES.md | 5 ++++- native/src/seal/evaluator.cpp | 2 -- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index d5becd14..cbad683d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -10,16 +10,19 @@ ### Other Fixes +- Fixed typos [(PR #590)](https://github.com/microsoft/SEAL/pull/590). +- Added $schema to cgmanifest.json [(PR #558)](https://github.com/microsoft/SEAL/pull/558). - Fixed typos [(PR #512)](https://github.com/microsoft/SEAL/pull/512). - Fixed typos [(PR #530)](https://github.com/microsoft/SEAL/pull/530). - Fixed typos [(PR #509)](https://github.com/microsoft/SEAL/pull/509). - Added missing `const` qualifiers [(PR #556)](https://github.com/microsoft/SEAL/pull/556). - Added vcpkg installation instructions [(PR #562)](https://github.com/microsoft/SEAL/pull/562). - Fixed an issue in specific environments where allocation fails without throwing `std::bad_alloc`. +- Fixed comments (C++) and C/.NET wrapper implementation of an exception thrown by `invariant_noise_budget`. ### Major API Changes -- Added new public methods `mod_reduce_xxx(...)` (native) or `ModReduceXxx(...)` (dotnet) to the class `Evaluator`. +- Added new public methods `mod_reduce_xxx(...)` (native) and `ModReduceXxx(...)` (dotnet) to the class `Evaluator`. ## Version 4.0.0 diff --git a/native/src/seal/evaluator.cpp b/native/src/seal/evaluator.cpp index 44bc844d..275f7098 100644 --- a/native/src/seal/evaluator.cpp +++ b/native/src/seal/evaluator.cpp @@ -1573,7 +1573,6 @@ namespace seal } void Evaluator::mod_reduce_to_next_inplace(Ciphertext &encrypted, MemoryPoolHandle pool) const - { // Verify parameters. if (!is_metadata_valid_for(encrypted, context_) || !is_buffer_valid(encrypted)) @@ -1592,7 +1591,6 @@ namespace seal } mod_reduce_to_next(encrypted, encrypted, std::move(pool)); - #ifdef SEAL_THROW_ON_TRANSPARENT_CIPHERTEXT // Transparent ciphertext output is not allowed. if (encrypted.is_transparent())