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

Resolve issue 15 #34

Merged
merged 14 commits into from
Jul 4, 2024
Merged

Resolve issue 15 #34

merged 14 commits into from
Jul 4, 2024

Conversation

cdwensley
Copy link
Contributor

Adjusted the ReducePoly2 function so that, if the list of leading monomials has repeats then one poly is subtracted from another - repeated iteratively with resorting.
Do not expect that all the tests will pass, but waiting for other PRs to be approved before making further tests.

lib/grobner.gi Outdated Show resolved Hide resolved
@cdwensley
Copy link
Contributor Author

After merging other PRs, NMO example 3 was failing. That has been fixed by making sure new polynomials formed in ReducePol2 are made monic, but now test23 is failing. Am investigating further.

@codecov
Copy link

codecov bot commented Oct 9, 2023

Codecov Report

Attention: Patch coverage is 82.77027% with 102 lines in your changes missing coverage. Please review.

Project coverage is 84.64%. Comparing base (c17cdc2) to head (a26373f).
Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #34      +/-   ##
==========================================
+ Coverage   84.60%   84.64%   +0.03%     
==========================================
  Files          31       31              
  Lines        4144     4167      +23     
==========================================
+ Hits         3506     3527      +21     
- Misses        638      640       +2     
Files Coverage Δ
lib/grobner.gi 84.57% <82.77%> (+0.41%) ⬆️

... and 4 files with indirect coverage changes

@cdwensley
Copy link
Contributor Author

The problem with test23 was eventually fixed by moving the added loop, which checks for pairs of polynomials with the same lead term, from ReducePol2 to ReducePol. (In test23 the initial list of polynomials has length 64, but there are 21 duplicates (up to change of sign) so the added loop produces 21 zero polynomials, whose removal leaves a list of length 43.)

1 similar comment
@cdwensley
Copy link
Contributor Author

The problem with test23 was eventually fixed by moving the added loop, which checks for pairs of polynomials with the same lead term, from ReducePol2 to ReducePol. (In test23 the initial list of polynomials has length 64, but there are 21 duplicates (up to change of sign) so the added loop produces 21 zero polynomials, whose removal leaves a list of length 43.)

@fingolfin fingolfin closed this Jul 4, 2024
@fingolfin fingolfin reopened this Jul 4, 2024
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.

Thank you. And so sorry for forgetting about this.

I'd be happy to give you write access to this repository and then you could also become a maintainer for GBNP if you like. Just let me know if you are interested.

lib/grobner.gi Outdated Show resolved Hide resolved
lib/grobner.gi Outdated Show resolved Hide resolved
lib/grobner.gi Outdated Show resolved Hide resolved
lib/grobner.gi Outdated Show resolved Hide resolved
lib/grobner.gi Outdated Show resolved Hide resolved
@fingolfin fingolfin linked an issue Jul 4, 2024 that may be closed by this pull request
lib/grobner.gi Outdated Show resolved Hide resolved
lib/grobner.gi Outdated Show resolved Hide resolved
lib/grobner.gi Outdated Show resolved Hide resolved
@fingolfin fingolfin changed the title Attempt to address issue 15 Resolve issue 15 Jul 4, 2024
@fingolfin fingolfin merged commit 4785663 into gap-packages:master Jul 4, 2024
7 of 8 checks passed
@cdwensley cdwensley deleted the grobner branch July 5, 2024 08:11
@cdwensley
Copy link
Contributor Author

I would be happy to become a maintainer for GBNP and reduce your load just a little. Thank you for sorting this batch of PRs, since it is time I restarted work on IBNP. (For the last month I've only been working on XModAlg.)

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.

Bug in GBNP?
2 participants