Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,18 @@ on:
pull_request:
branches:
- main
- dev

jobs:
call:
uses: openfheorg/openfhe-development/.github/workflows/generic_workflow.yml@github-ci
with:
runner: ${{ vars.RUNNER }}
compiler: "GCC-11"
native_backend: "64"
mb2_jobs: "all"
mb4_jobs: "all"
mb6_jobs: "all"
compiler: "GCC-14"
native_backend: "all"
mb2_jobs: "mb2"
mb4_jobs: "mb4_tcm"
mb6_jobs: "mb6"
# cmake_args_map holds job specific additional cmake options. compiler flags, native_backend flag and
# OpenMP flag are set in generic_workflow.yml
cmake_args_map: '{
Expand All @@ -29,4 +30,3 @@ jobs:
"mb6_ntl_tcm" : "-DBUILD_EXTRAS=ON -DMATHBACKEND=6 -DWITH_NTL=ON -DWITH_TCM=ON",
"mb6_ntl_debug_tcm" : "-DBUILD_EXTRAS=ON -DMATHBACKEND=6 -DWITH_NTL=ON -DWITH_TCM=ON -DCMAKE_BUILD_TYPE=Debug",
}'

2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ project (OpenFHE C CXX)

set(OPENFHE_VERSION_MAJOR 1)
set(OPENFHE_VERSION_MINOR 4)
set(OPENFHE_VERSION_PATCH 1)
set(OPENFHE_VERSION_PATCH 2)
set(OPENFHE_VERSION ${OPENFHE_VERSION_MAJOR}.${OPENFHE_VERSION_MINOR}.${OPENFHE_VERSION_PATCH})

set(CMAKE_CXX_STANDARD 17)
Expand Down
6 changes: 6 additions & 0 deletions docs/static_docs/Release_Notes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
10/20/2025: OpenFHE 1.4.2 (stable) is released

* Fixes a bug introduced by PR #1007 that affected large-depth scenarios for the `HPSPOVERLEVELED` mode of BFV (#1066)

The detailed list of changes is available at https://github.com/openfheorg/openfhe-development/issues?q=is%3Aissue+milestone%3A%22Release+1.4.2%22

10/14/2025: OpenFHE 1.4.1 (stable) is released

* Changes `convert` to `ConvertRLWEToCKKS` and `ConvertCKKSToRLWE` + other small API updates for functional CKKS bootstrapping (#1047)
Expand Down
2 changes: 1 addition & 1 deletion src/pke/lib/scheme/bfvrns/bfvrns-leveledshe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ uint32_t FindLevelsToDrop(uint32_t multiplicativeDepth, std::shared_ptr<CryptoPa
// adding the cushon to the error (see Appendix D of https://eprint.iacr.org/2021/204.pdf for details)
// adjusted empirical parameter to 16 from 4 for threshold scenarios to work correctly, this might need to
// be further refined
int32_t levels = std::floor((loge - 2 * multiplicativeDepth - 16 - logExtra) / dcrtBits);
int32_t levels = std::floor((loge - 3 * multiplicativeDepth - 16 - logExtra) / dcrtBits);
size_t sizeQ = cryptoParamsBFVrns->GetElementParams()->GetParams().size();

if (levels < 0)
Expand Down