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 product of Complex with Hermitian #265

Merged
merged 4 commits into from
Feb 29, 2024
Merged

Fix product of Complex with Hermitian #265

merged 4 commits into from
Feb 29, 2024

Conversation

blegat
Copy link
Member

@blegat blegat commented Feb 29, 2024

The product of a Complex number with an Hermitian matrix is not an Hermitian matrix. We should probably still

  • add tests

before we merge

Closes #264

Copy link

codecov bot commented Feb 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.07%. Comparing base (ccaa222) to head (168068a).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #265      +/-   ##
==========================================
+ Coverage   90.95%   91.07%   +0.12%     
==========================================
  Files          23       23              
  Lines        2167     2163       -4     
==========================================
- Hits         1971     1970       -1     
+ Misses        196      193       -3     

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

@odow
Copy link
Member

odow commented Feb 29, 2024

This method was never tested:

image

I think because we don't have a way to test Complex{<:AbstractMutable}, because Complex{T} requires T<:Real and !(AbstractMutable <: Real).

@odow odow merged commit 69fbcaa into master Feb 29, 2024
11 checks passed
@odow odow deleted the bl/complex_herm branch February 29, 2024 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Errors in complex algebra with Symmetric and Hermitian
2 participants