Skip to content

WIP: Remove *(Diagonal, Woodbury) #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jul 28, 2021
Merged

WIP: Remove *(Diagonal, Woodbury) #19

merged 7 commits into from
Jul 28, 2021

Conversation

AlexRobson
Copy link
Member

Closes #18

@AlexRobson AlexRobson changed the title Ar/remove diagonal Remove *(Diagonal, Woodbury) Jul 20, 2021
@AlexRobson AlexRobson changed the title Remove *(Diagonal, Woodbury) WIP: Remove *(Diagonal, Woodbury) Jul 20, 2021
@codecov
Copy link

codecov bot commented Jul 20, 2021

Codecov Report

Merging #19 (88160b3) into master (5879fe4) will decrease coverage by 1.97%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #19      +/-   ##
==========================================
- Coverage   72.38%   70.40%   -1.98%     
==========================================
  Files           4        4              
  Lines         105       98       -7     
==========================================
- Hits           76       69       -7     
  Misses         29       29              
Impacted Files Coverage Δ
src/woodbury_pd_mat.jl 93.93% <100.00%> (-1.07%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5879fe4...88160b3. Read the comment docs.

Copy link
Contributor

@mzgubic mzgubic left a comment

Choose a reason for hiding this comment

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

LGTM, just not sure why we need the constructor for?

@@ -38,6 +38,8 @@ function WoodburyPDMat(
return WoodburyPDMat(A, Diagonal(D), Diagonal(S))
end

WoodburyPDMat{T, TA, TD, TS}(vals...) where {T, TA, TD, TS} = WoodburyPDMat(vals...)
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we need this constructor?

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh, we don't for this MR. Mistake adding this from experimenting with ChainRules. I'll just leave it in though

@AlexRobson AlexRobson merged commit 11955cd into master Jul 28, 2021
@AlexRobson AlexRobson deleted the ar/remove_diagonal branch July 28, 2021 12:50
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.

*(::Woodbury, ::Diagonal) is wrong
2 participants