Skip to content

Avoid pirating qr by shadowing the function#497

Open
jishnub wants to merge 2 commits intomasterfrom
jishnub/qr
Open

Avoid pirating qr by shadowing the function#497
jishnub wants to merge 2 commits intomasterfrom
jishnub/qr

Conversation

@jishnub
Copy link
Member

@jishnub jishnub commented Jan 6, 2026

This creates a BandedMatrices.qr that is distinct from LinearAlgebra.qr.

@codecov
Copy link

codecov bot commented Jan 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.13%. Comparing base (6ccbdd8) to head (dc90488).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #497      +/-   ##
==========================================
+ Coverage   90.00%   90.13%   +0.13%     
==========================================
  Files          27       27              
  Lines        3742     3741       -1     
==========================================
+ Hits         3368     3372       +4     
+ Misses        374      369       -5     

☔ 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.

\(A::TransposeFact{<:Any,<:BandedLU}, B::Transpose{<:Any,<:AbstractVecOrMat}) = A \ copy(B)

_factorize(::AbstractBandedLayout, _, A) = size(A,1) == size(A,2) ? lu(A) : qr(A)
_factorize(::AbstractBandedLayout, _, A) = size(A,1) == size(A,2) ? lu(A) : LinearAlgebra.qr(A)
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't this call BandedMatrices.qr?

@dlfivefifty
Copy link
Member

Don't we also need a BandedMatrices.qr(A) = LinearAlgebra.qr(A)?

@jishnub
Copy link
Member Author

jishnub commented Jan 12, 2026

Updated

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