Summary
Found during #326 (BF-12 rewrite of test_0812): calling uw.non_dimensionalise() with a plain pint.Quantity crashes — the protocol-5 branch in units.py constructs UWQuantity with an invalid dimensionality= keyword. A TODO(BUG) marker was added at the site in #326 (comment-only; fix out of that PR's scope).
Small fix + a regression test with a pint input. Units subsystem.
Underworld development team with AI support from Claude Code
Summary
Found during #326 (BF-12 rewrite of test_0812): calling uw.non_dimensionalise() with a plain pint.Quantity crashes — the protocol-5 branch in units.py constructs UWQuantity with an invalid
dimensionality=keyword. A TODO(BUG) marker was added at the site in #326 (comment-only; fix out of that PR's scope).Small fix + a regression test with a pint input. Units subsystem.
Underworld development team with AI support from Claude Code