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

sage.algebras: Update # needs, modularization fixes, doctest cosmetics #36642

Merged
merged 27 commits into from
Dec 6, 2023

Conversation

mkoeppe
Copy link
Member

@mkoeppe mkoeppe commented Nov 4, 2023

📝 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

@mkoeppe mkoeppe self-assigned this Nov 4, 2023
@mkoeppe mkoeppe changed the title sage.algebras: Update # needs sage.algebras: Update # needs, modularization fixes, doctest cosmetics Nov 4, 2023
sage: A1 is A2
sage: A1 = GradedCommutativeAlgebra(GF(2), 'x,y', (3, 6)) # needs sage.rings.finite_rings
sage: A2 = GradedCommutativeAlgebra(GF(2), ['x', 'y'], [3, 6]) # needs sage.rings.finite_rings
sage: A1 is A2 # needs sage.rings.finite_rings
True

Copy link
Collaborator

Choose a reason for hiding this comment

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

GF(2) is small?

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks. Done throughout the file in bd006df

@@ -126,7 +127,7 @@ class FiniteGCAlgebra(CombinatorialFreeModule, Algebra):
omitted, an instance of the class
:class:`sage.algebras.commutative_dga.GCAlgebra` is created instead::

sage: A.<x,y,z,t> = GradedCommutativeAlgebra(QQ, degrees=(1,2,6,6))
sage: A.<x,y,z,t> = GradedCommutativeAlgebra(QQ, degrees=(1,2,6,6)) # needs sage.libs.singular
sage: type(A)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why sage.libs.singular? sage.modules is not enough?

Copy link
Member Author

Choose a reason for hiding this comment

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

Can't test right now, so I have removed it in 919ec6f

@kwankyu
Copy link
Collaborator

kwankyu commented Nov 9, 2023

Otherwise, looks good to me.

Copy link

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

@kwankyu
Copy link
Collaborator

kwankyu commented Nov 15, 2023

codecov/patch complains decreased coverage in src/sage/misc/latex.py, but this PR does not touch the file. Strange.

I am testing with 10.2.rc3.

Copy link
Collaborator

@kwankyu kwankyu left a comment

Choose a reason for hiding this comment

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

Thanks. LGTM.

@mkoeppe
Copy link
Member Author

mkoeppe commented Nov 15, 2023

Thank you!

@mkoeppe
Copy link
Member Author

mkoeppe commented Nov 15, 2023

codecov/patch complains decreased coverage in src/sage/misc/latex.py, but this PR does not touch the file. Strange.

I think these fluctuations may be explained by #36539

@vbraun vbraun merged commit 91c9fa6 into sagemath:develop Dec 6, 2023
20 of 21 checks passed
@mkoeppe mkoeppe added this to the sage-10.3 milestone Dec 6, 2023
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.

None yet

3 participants