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

Fix matmul implementation of Zero linop #764

Conversation

timweiland
Copy link
Collaborator

In a Nutshell

matmul result now has the correct shape

Detailed Description

The Zero linear operator had a bug where in the matmul implementation, it simply returned a zero vector of the same shape of the input. But this does not always match the shape we expect from the matmul output.

Related Issues

Closes #761

matmul result now has the correct shape
Copy link
Collaborator

@marvinpfoertner marvinpfoertner left a comment

Choose a reason for hiding this comment

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

🙏🏻

@codecov
Copy link

codecov bot commented Jan 10, 2023

Codecov Report

Merging #764 (bf5e6f1) into main (2883717) will increase coverage by 0.10%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #764      +/-   ##
==========================================
+ Coverage   90.80%   90.90%   +0.10%     
==========================================
  Files         210      210              
  Lines        7707     7709       +2     
  Branches      986      984       -2     
==========================================
+ Hits         6998     7008      +10     
  Misses        478      478              
+ Partials      231      223       -8     
Impacted Files Coverage Δ
src/probnum/linops/_scaling.py 87.05% <100.00%> (+4.32%) ⬆️
src/probnum/linops/_linear_operator.py 87.56% <0.00%> (+0.17%) ⬆️

@marvinpfoertner marvinpfoertner merged commit 3ad4e85 into probabilistic-numerics:main Jan 15, 2023
@timweiland timweiland deleted the bugfix/zero-linop-matmul branch January 16, 2023 11:58
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.

Zero linop matmul bug
2 participants