Skip to content

Conversation

AurelPage
Copy link
Contributor

This PR fixes #36386, at least for unit group computations (S-units will still suffer from the problem, or when the units are even larger). This PR does not address #31754, which would be a better (but more complicated) solution for the problem.

📝 Checklist

  • The title is concise, informative, and self-explanatory.
  • The description explains in detail what this PR is about.
  • I have linked a relevant issue or discussion.
  • I have created tests covering the changes.
  • I have updated the documentation accordingly.

⌛ Dependencies

None

@AurelPage AurelPage force-pushed the number_field-unit_group-no-factorback branch from e9172d4 to b7049bf Compare February 3, 2024 12:28
@@ -305,6 +305,13 @@ def __init__(self, number_field, proof=True, S=None):
sage: tuple(US(K(u)) for u in US.gens()) == US.gens()
True

Bug #36386 (pari stack overflow while expanding units)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be

Bug :issue:`36386` (pari stack overflow while expanding units)::

    sage: d = 12936642

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(ie there are three mistakes)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, fixed!

Copy link

github-actions bot commented Feb 7, 2024

Documentation preview for this PR (built with commit 32c07c8; changes) is ready! 🎉

@vbraun vbraun merged commit 705cab1 into sagemath:develop Feb 13, 2024
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.

Unexpected KeyError and "PariError: the PARI stack overflows" while computing UnitGroup
4 participants