-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
math.log domain error #128
Comments
Alternatively, you might be able to avoid this error and speedup the code if the simulator outputs GSA, ZGSA and LGSA internally model the log-norms base 2, e, 2 respectively. |
It seems that the simulator from FPyLLL uses log_2(GS-norms) to simulate the profile. Perhaps it's easiest here, if you add a If you roll out your custom simulator in the lattice-estimator, this gives redundancy (although the FPyLLL code hasn't changed a lot the last years). |
I like this solution. |
I'll give it a shot and report back here :) thanks for the suggestions/discussion! |
For the following params:
there is an error thrown by
math.log()
:this is caused by the
math.log()
function throwing a domain error for very small inputs.The text was updated successfully, but these errors were encountered: