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

Fix kwargs and scoping in @polynomial_ring #1633

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

mgkurtz
Copy link
Contributor

@mgkurtz mgkurtz commented Feb 29, 2024

See the new tests for examples now working.

@fingolfin
Copy link
Member

Thanks! Could you please also add a test that verifies it works now (and that it stays working)? It shouldn't be too hard, you can just do what the issues describes.

Copy link

codecov bot commented Feb 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.94%. Comparing base (42192d8) to head (094c8d4).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1633   +/-   ##
=======================================
  Coverage   86.94%   86.94%           
=======================================
  Files         114      114           
  Lines       29697    29700    +3     
=======================================
+ Hits        25820    25823    +3     
  Misses       3877     3877           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mgkurtz mgkurtz changed the title quickfix #1630 Fix kwargs and scoping in @polynomial_ring Feb 29, 2024
@mgkurtz mgkurtz marked this pull request as ready for review February 29, 2024 17:06
@mgkurtz
Copy link
Contributor Author

mgkurtz commented Feb 29, 2024

Added several tests. Rewrote keyword argument handling to fix #1631 also in the case of polynomial_ring(QQ, ["x", "y"], internal_ordering=:lex) with comma instead of semicolon and to handle polynomial_ring(K, ["x", "y"]; internal_ordering=ordering) with K and ordering some variables to be evaluated in current scope.

Copy link
Member

@fingolfin fingolfin left a comment

Choose a reason for hiding this comment

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

Awesome, thank you for the quick fix!

@fingolfin fingolfin merged commit 7e756b8 into Nemocas:master Feb 29, 2024
30 checks passed
@mgkurtz mgkurtz deleted the mgk/varnames-fix branch August 27, 2024 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants