Skip to content

Support approximate comparisons of polynomial arrays - #417

Merged
blegat merged 2 commits into
mainfrom
bl/isapprox
Nov 23, 2026
Merged

blegat merged 2 commits into
mainfrom
bl/isapprox

Conversation

@blegat

@blegat blegat commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Provide exact leaf types for variables and basis elements. Terms and polynomial sums use the shared numeric coefficient support in StarAlgebras

Provide exact leaf types for variables and basis elements. Terms and polynomial sums use the shared numeric coefficient support in StarAlgebras (505eb81).

Validated test/commutative/comparison.jl against the local StarAlgebras fix: 366 tests passed. Temporary line logging confirmed the MP method and the upstream SA method were exercised.
Provide exact coefficient leaf types directly for arrays because Julia 1.14 bypasses scalar leaf methods for homogeneous containers. Cover Any arrays and views alongside typed arrays.

All 380 tests in test/commutative/comparison.jl pass on Julia 1.14.0-alpha2 with the matching StarAlgebras fix. Temporary type logging verifies both scalar and array dispatch.
@blegat
blegat merged commit bbc491e into main Nov 23, 2026
9 checks passed
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.

1 participant