You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the toy example in the README, it is broken.
Cell In[4], line 1
----> 1 A, b, dbdd = initialize_from_LWE_instance(DBDD, n, q, m, D_e, D_s)
File <string>:43, in initialize_from_LWE_instance(dbdd_class, n, q, m, D_e, D_s, diag, verbosity)
File <string>:30, in __init__(self, B, S, mu, u, verbosity, homogeneous, float_type, D, Bvol, circulant)
File <string>:323, in check_basis_consistency(B, D, Bvol)
File <string>:228, in logdet(M, exact)
File /usr/lib/python3.12/site-packages/sage/matrix/matrix1.pyx:674, in sage.matrix.matrix1.Matrix.numpy (build/cythonized/sage/matrix/matrix1.c:14076)()
672 return sib.name('matrix')(self.base_ring(), entries)
673
--> 674 def numpy(self, dtype=None):
675 """
676 Return the Numpy matrix associated to this matrix.
TypeError: numpy() got an unexpected keyword argument 'copy'
After a debug, I think this is related to the code below.
When I run the toy example in the README, it is broken.
After a debug, I think this is related to the code below.
leaky-LWE-Estimator/framework/geometry.sage
Lines 222 to 225 in 0a9caf8
Here is a potential fix.
The text was updated successfully, but these errors were encountered: