You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix Block matrix handling in Sum kernels and quasiseparable operations (#266)
* Fix Block transition matrices breaking Sum kernel operations (#265)
Block diagonal matrices used in Sum kernel transition matrices, stationary
covariances, and design matrices were incompatible with several operations:
adding QSMs (banded noise), product kernels (_prod_helper indexing), and
elementwise multiplication (self_mul fancy indexing). Convert Block to dense
in these contexts since the state-space matrices are small. Also add a
use_block=False option to Sum for users who want to bypass Block entirely.
https://claude.ai/code/session_01Y2ACGEqvh9fTrCzR5WEPuJ
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Address PR review: extract ensure_dense helper, move imports to top, trim tests
- Extract ensure_dense() into block.py as a shared helper
- Move all imports to module top level (no lazy imports)
- Remove test docstrings and comments
- Consolidate tests to minimal set covering the three failure modes + use_block
https://claude.ai/code/session_01Y2ACGEqvh9fTrCzR5WEPuJ
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
0 commit comments