Skip to content

v0.1.1

Latest

Choose a tag to compare

@sbryngelson sbryngelson released this 04 Aug 16:22
2d8cade

First release published to PyPI.

python -m pip install pyimr

Changes since v0.1.0

  • pyimr.__version__ reports the installed version, sourced from distribution metadata
    rather than a second hardcoded string that could drift from pyproject.toml.
  • The wall-temperature root find takes its tangent from the implicit function theorem via
    lax.custom_root, so the derivative no longer depends on the iteration budget to be
    correct. Previously, with Newton polish disabled, the solver returned a root accurate to
    4e-6 alongside a derivative of exactly zero -- bisection selects with where, which
    carries no gradient. The entire correctness margin came from three polish steps, and
    nothing recorded that dependency. Costs about 7% on the mass-transfer path; trajectories
    agree to 2e-15.
  • Publishing runs from a GitHub release through PyPI trusted publishing, with a dry run to
    TestPyPI and a guard that refuses to upload when the built version disagrees with the tag.

The API is still moving -- this week relocated PreparedProblem and prepare, and changed
the state layout and RHS argument order. Pin exactly if you depend on it.