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

Optimize computation of least common denominator #241

Merged
merged 2 commits into from
Jan 16, 2025
Merged

Conversation

fingolfin
Copy link
Member

No description provided.

Copy link

codecov bot commented Jan 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.93%. Comparing base (833d2c3) to head (441895f).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #241      +/-   ##
==========================================
+ Coverage   95.81%   95.93%   +0.11%     
==========================================
  Files          12       12              
  Lines         836      836              
==========================================
+ Hits          801      802       +1     
+ Misses         35       34       -1     

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

@fingolfin
Copy link
Member Author

Error with Oscar 1.1: denominator(::AbstractAlgebra.Generic.MPoly{QQFieldElem}) does not exist.

Of course that type of ring should not even be used (it should use QQMPolyRingElem) but that's one of the many things we fixed in Oscar 1.2 (resp. newer AA & Nemo versions). We can probably workaround it by adding a suitable such method when detecting it is needed.

@SoongNoonien
Copy link
Member

We can probably workaround it by adding a suitable such method when detecting it is needed.

Can we detect this by checking for a specific AA version? Since we already have a check for the AA version this could be the easiest way.

@fingolfin
Copy link
Member Author

It may depend on the version of AA and Nemo, dunno. I think the easiest would be to check the version of Oscar? if pkgversion(Oscar) < v"1.2" ... ?

@SoongNoonien SoongNoonien merged commit c6223dc into master Jan 16, 2025
14 checks passed
@SoongNoonien SoongNoonien deleted the mh/denom branch January 16, 2025 13:11
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