Skip to content
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

adjust random tests for generators of elliptic curves #35787

Merged
merged 1 commit into from
Jun 21, 2023

Conversation

chriswuthrich
Copy link
Contributor

#35626 introduced a test failure on some machines as some tests return random choices of generators of Mordell-Weil groups for elliptic curves.

This adds "random" to these tests and add some tests that do test if the returned answer is correct. This is only possible when the rank is 1 (and the returned point must be in a finite set). For larger ranks at best we can test if the number of generators is ok and if the points are saturated.

@github-actions
Copy link

Documentation preview for this PR (built with commit 59a8980) is ready! 🎉

@vbraun
Copy link
Member

vbraun commented Jun 20, 2023

Lgtm, I'm also getting this error randomly

@vbraun vbraun merged commit 4fa9c1c into sagemath:develop Jun 21, 2023
@mkoeppe mkoeppe added this to the sage-10.1 milestone Jun 21, 2023
@chriswuthrich chriswuthrich deleted the pariell2_derandomise_tests branch July 4, 2023 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants