Skip to content

Conversation

@jishnub
Copy link
Member

@jishnub jishnub commented Apr 17, 2025

Currently, multiplying a BandedMatrix by a scalar doesn't necessarily preserve its bandwidth, which implies that looping over the bands might lead to out-of-bounds access. This PR ensures that the bandwidths are preserved in scalar multiplication.

Also, remove the valJ logic, as a Recurrence is a TridiagonalOperator, and is certain to have three bands.

@jishnub jishnub merged commit 42afff9 into JuliaApproximation:master Apr 17, 2025
8 of 10 checks passed
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.

1 participant