From 790fa8cbc75e4c0a81081bf29c6fd59b491c841f Mon Sep 17 00:00:00 2001 From: "Martin R. Albrecht" Date: Wed, 7 Feb 2024 14:44:20 +0000 Subject: [PATCH] that was a wee bit tight --- estimator/sis_parameters.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/estimator/sis_parameters.py b/estimator/sis_parameters.py index 28d265c..58086dd 100644 --- a/estimator/sis_parameters.py +++ b/estimator/sis_parameters.py @@ -21,9 +21,9 @@ def __post_init__(self, **kwds): if not self.m: #: Set m to be the minimum required for a solution to exist. if self.norm == oo: - self.m = ceil(self.n * log(self.q, (2 * self.length_bound + 1))) + self.m = 2 * ceil(self.n * log(self.q, (2 * self.length_bound + 1))) else: - self.m = ceil(self.n * log(self.q, 2)) + self.m = 2 * ceil(self.n * log(self.q, 2)) @property def _homogeneous(self):