Skip to content

0.1.0 release#189

Merged
patrick-kidger merged 20 commits intomainfrom
dev
Jan 27, 2026
Merged

0.1.0 release#189
patrick-kidger merged 20 commits intomainfrom
dev

Conversation

@patrick-kidger
Copy link
Owner

@patrick-kidger patrick-kidger commented Jan 26, 2026

Phew, it's been a while since a release! It's about time we got something out.

Breaking changes

Features

Compatibility

Bugfixes

Performance

adconner and others added 18 commits December 5, 2025 01:10
…full_rank (#158)

The two functions allow_dependent_{rows,columns} together did the job of
answering if the solver accepts full rank matrices for the purposes of
the jvp. Allowing them to be implemented separately created some issues:
1) Invalid states were representable. Eg. What does it mean that
   dependent columns are allowed for square matrices if dependent rows
   are not? What does it mean that dependent rows are not allowed for
   matrices with more rows than columns?
2) As the functions accept operator as input, a custom solver could in
   principle decide its answer based on operator's dynamic value rather
   than only jax compilation static information regarding it, as in all
   the lineax defined solvers. This would prevent jax compilation and
   jit.

Both issues are addressed by asking the solver to report only if it
assumes the input is numerically full rank. If this assumption is
exactly violated, its behavior is allowed to be undefined, and is
allowed to error, produce NaN values, and produce invalid values.
Decrease default value to prevent overflow in 32-bit.
There seem to be some spurious downstream failures in Diffrax with JAX 0.8.2 otherwise. Probably JAX has started promoting these to tracers on some unusual codepath.
jpbrodrick89 and others added 2 commits January 27, 2026 14:28
…190)

* Deprecate NormalCG helper function

- Added **kwargs support to NormalCG function signature
- Added DeprecationWarning directing users to use lx.Normal(lx.CG(...)) instead
- Added docstring with deprecation notice
- Imported warnings module

* Align deprecation warning with Diffrax patterns

- Use "in favour of" phrasing (consistent with Diffrax)
- Add backticks around code examples
- Specify "in some future version of Lineax"
- Keep DeprecationWarning category (more semantically correct)
- Update both warning message and docstring

* fix precommit
@patrick-kidger patrick-kidger merged commit b16b03e into main Jan 27, 2026
4 checks passed
@patrick-kidger patrick-kidger deleted the dev branch January 27, 2026 15:35
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.

4 participants