Skip to content

Conversation

@jishnub
Copy link
Member

@jishnub jishnub commented May 31, 2025

Currently, adjoint and transpose for a block Diagonal and a block Bidiagonal matrix allocates the diagonals. This was not intentional, and we may use lazy wrappers instead that ensures that the result shares memory with the original array, which is what the documentation states. After this PR, mutating the adjoint will automatically mutate the parent array.

@codecov
Copy link

codecov bot commented May 31, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.81%. Comparing base (fd7e413) to head (b41d44e).
Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1368      +/-   ##
==========================================
- Coverage   93.83%   93.81%   -0.03%     
==========================================
  Files          34       34              
  Lines       15708    15709       +1     
==========================================
- Hits        14740    14737       -3     
- Misses        968      972       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@dkarrasch dkarrasch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe help it simplify a little bit in the real case?

@jishnub jishnub merged commit 39ee3af into master Jun 2, 2025
3 of 4 checks passed
@jishnub jishnub deleted the jishnub/diagadjtrans_lazy branch June 2, 2025 07:45
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.

2 participants