Skip to content

Reject non-zero polynomials with zero coefficients#334

Merged
mohabsafey merged 1 commit intoalgebraic-solving:masterfrom
wegank:term-parser-fix-2
Apr 14, 2026
Merged

Reject non-zero polynomials with zero coefficients#334
mohabsafey merged 1 commit intoalgebraic-solving:masterfrom
wegank:term-parser-fix-2

Conversation

@wegank
Copy link
Copy Markdown
Contributor

@wegank wegank commented Apr 13, 2026

This PR rejects polynomials that are formally non-zero but have some coefficients equal to zero, including cases where coefficients are reduced to zero over finite fields (see #312). As a side effect, zero polynomials are now ignored, which resolves the issue described in #311 (and #68).

Closes #311.
Closes #312.

@mohabsafey mohabsafey merged commit 40c7332 into algebraic-solving:master Apr 14, 2026
6 checks passed
@wegank wegank deleted the term-parser-fix-2 branch April 14, 2026 07:52
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.

msolve hangs when non-zero coefficient reduces to zero over finite field Issue 68 is not properly fixed

2 participants