From 165c43f6f760949838b1d38a6fce022fe63e2f80 Mon Sep 17 00:00:00 2001 From: nindanaoto Date: Sun, 19 Nov 2023 11:22:15 +0000 Subject: [PATCH] I'm not sure about why I added this 2 --- include/params/128bit.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/params/128bit.hpp b/include/params/128bit.hpp index e7e3ff4..1d8075c 100644 --- a/include/params/128bit.hpp +++ b/include/params/128bit.hpp @@ -39,8 +39,7 @@ struct lvl1param { static constexpr T μ = 1U << 29; static constexpr uint32_t plain_modulus = 8; static constexpr double Δ = - static_cast(1ULL << std::numeric_limits::digits) / - (2 * plain_modulus); + static_cast(1ULL << std::numeric_limits::digits) / plain_modulus; }; struct lvl2param {