-
Notifications
You must be signed in to change notification settings - Fork 59
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
Remove divisible
, copy documentation to is_divisible_by
instead
#1618
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1618 +/- ##
==========================================
+ Coverage 84.04% 84.09% +0.04%
==========================================
Files 93 93
Lines 36766 36761 -5
==========================================
+ Hits 30901 30913 +12
+ Misses 5865 5848 -17 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall we also remove divides? Or is the meaning there clear?
I think divides additionally returns the quotient. |
On Thu, Jan 11, 2024 at 08:10:57AM -0800, Lars Göttgens wrote:
I think divides additionally returns the quotient.
I'll put it into the renaming hackmd for further discussion. But that's for the future
Thanks
… --
Reply to this email directly or view it on GitHub:
#1618 (comment)
You are receiving this because you were mentioned.
Message ID: ***@***.***>
|
|
Thanks for the ref. I added it to the hackmd. This PR is good to go then, right? |
Ah, CI is failing, but it seems to be some kind of GAP thing: OscarInterface: Error During Test at /home/runner/.julia/packages/Oscar/1Moid/test/GAP/oscarinterface.jl:5
Test threw exception
Expression: GAP.Globals.TestDirectory(GAP.Globals.DirectoriesPackageLibrary(GAP.Obj("OscarInterface"), GAP.Obj("tst")))
Error thrown by GAP: Error, UndefVarError: `divisible` not defined summoning our GAP expert @fingolfin since I don't see this function used in the GAP tests at all... |
@fingolfin wanted to look at this in the afternoon |
Spent the afternoon in renaming discussions... But now I had a look. And it is exactly as I suspected, the error comes from a call into Hecke. Here is condensed version of some of the code being run,
|
Ah okay, so Hecke doesn't like the deprecation somehow. Let me just mark this breaking then. |
Resolves oscar-system/Oscar.jl#3178 by removing
divisible
and promotingis_divisible_by
with a fixed docstring instead. (as suggested by @fieker in oscar-system/Oscar.jl#3178 (comment))This function is already used throughout AbstractAlgebra. Thus I removed the duplicate implementation for
(::Integer, ::Integer)
here in Nemo.cc @JohnAAbbott