Skip to content

Tp/fix inf to pm1 nans - #72

Merged
tpapp merged 2 commits into
tp/api-unificationfrom
tp/fix-inf-to-pm1-nans
Oct 19, 2026
Merged

tpapp merged 2 commits into
tp/api-unificationfrom
tp/fix-inf-to-pm1-nans

Conversation

@tpapp

@tpapp tpapp commented Oct 19, 2026

Copy link
Copy Markdown
Owner

Fix NaNs in derivatives for InfRational transformation in extreme cases.

@tpapp
tpapp merged commit 54cb230 into tp/api-unification Oct 19, 2026
1 check failed
@tpapp
tpapp deleted the tp/fix-inf-to-pm1-nans branch October 19, 2026 14:31
tpapp added a commit that referenced this pull request Nov 16, 2026
* add comments/docstrings

* rework transformations API

* start a changelog

* rework chebyshev and levels

* test adjustment code

* add back test for derivatives

* minor test fixes

* rename grid_kind to kind, reenable what is needed

* make Chebyshev iterator infinite

* Clean up grid calculations, tighter testing.

* reindex levels from 0

* add KINDS variable to tests

* reimplement Smolyak traversal more flexibly

* typo corrections

* rework basics of Smolyak API

* make iterator allocation-free

* remove adjust_basis, rely on fields

* use type constructors instead of functions

* show method for UnivariateBasis, fix for SmolyakBasis

* remove coordinate transformations (unneeded)

* make boundedlinear use lower, upper; rework printing

* remove support for broadcasting

* implement index traversal

* BoundedLinear API, test adjust_coefficients, traversal

incidental: printing changes

* add Enzyme integration tests

* rework iteration to fix Enzyme inference

* add ConstructionBase method for SmolyakLevel

* make file names consistent

* decouple grid_level in univariate

* decouple grid_level from level in Smolyak

* make printing a bit nicer

* add outside domain handling

* add getindex for smolyak

* fix typo

* Tp/fix inf to pm1 nans (#72)

* implement custom derivatives for z/√(z²+s²) transformation

* use ldexp

* batch duplication

* simplify signature

* correct typos

* remove TransformedBasis

* re-enable JET

* renable JET and Aqua

fix minor problems that they revealed

* add constant coefficients to an API

* expunge experimental parts

* derivatives now run, but result still incorrect

* re-enable tests for infinite derivatives

* module docs from README, simplify README, plots will be in docs

* make tests compile cleanly

* minor docs fixes

* remove old coordinate domains API

* remove old starting page

* minor fixes to make docs run

* api details

* remove derivatives from public API

* fix docs example

* import derivative symbols explicitly

* expunge domain_kind

* fix docstrings

* rename main page to index

* version bump

* no separate compat bounds for tests

* skip spurious method ambiguity check on Julia 1.10, 1.11

* allow runtime activity in DD

* allow nothing as grid_level

* prettify docs a bit

* changelog

* fix docs gen

* mention breaking changes

* build docs on recent Julia
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