Skip to content
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

Add fallback for +(::BlockDiagonal,::Diagonal) when blocks are not square #120

Merged
merged 7 commits into from
Nov 2, 2022

Conversation

mjp98
Copy link
Contributor

@mjp98 mjp98 commented Nov 2, 2022

Closes #103

Introduces a type instability (that is common to many other methods), but resolves the bug.

@codecov
Copy link

codecov bot commented Nov 2, 2022

Codecov Report

Merging #120 (b6b7048) into master (960aa87) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #120   +/-   ##
=======================================
  Coverage   98.84%   98.85%           
=======================================
  Files           5        5           
  Lines         346      348    +2     
=======================================
+ Hits          342      344    +2     
  Misses          4        4           
Impacted Files Coverage Δ
src/base_maths.jl 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Collaborator

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

Nice! Also LGTM, version bump + squash commits please :)

@mjp98 mjp98 merged commit 10f2c9f into master Nov 2, 2022
@mjp98 mjp98 deleted the mjp/nonsquare-diagonal-addition branch November 2, 2022 17:31
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.

Adding a BlockDiagonal and Diagonal matrix fails for non-square matrices
2 participants