Skip to content

v0.2.1

Choose a tag to compare

@yoyolicoris yoyolicoris released this 01 Oct 15:45
· 9 commits to dev since this release
67b0a0c

A patch release that fixes the PUMA solver when it is called through unwrap_dimensional.

pip install -U kamui          # or kamui[extra] for the PUMA solver

Fixed

  • unwrap_dimensional(x, method="gc") no longer raises TypeError: puma() got an unexpected keyword argument 'weights'. The function passed weights=None on to every solver, and PUMA takes no weights; it now passes weights only when you supply them. This had been broken since 0.1.2. If you switched to calling unwrap_arbitrary(..., method="gc") as a workaround, that keeps working, and you can switch back.

Only the ILP solvers (method="ilp", the default) use weights. Passing weights together with method="gc" still raises a TypeError, because PUMA has no weighting.

Nothing else has changed. The requirements are the same as for 0.2.0: Python ≥ 3.10, NumPy ≥ 2 and SciPy ≥ 1.13.

What's Changed

Full Changelog: v0.2.0...v0.2.1