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

Rename is_hermitian_matrix to is_hermitian #2556

Merged
merged 1 commit into from
Jul 17, 2023

Conversation

lgoettgens
Copy link
Member

is_hermitian already exists for other types and is more streamlined with similar function names, e.g. is_symmetric.

@lgoettgens
Copy link
Member Author

The nightly failure seems to be #2543.

@codecov
Copy link

codecov bot commented Jul 13, 2023

Codecov Report

Merging #2556 (3f978c8) into master (612eef1) will increase coverage by 0.05%.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2556      +/-   ##
==========================================
+ Coverage   72.82%   72.88%   +0.05%     
==========================================
  Files         415      415              
  Lines       55641    55837     +196     
==========================================
+ Hits        40520    40696     +176     
- Misses      15121    15141      +20     
Impacted Files Coverage Δ
src/deprecations.jl 0.00% <ø> (ø)
src/Groups/matrices/forms.jl 93.08% <100.00%> (ø)
src/Groups/matrices/matrix_manipulation.jl 86.48% <100.00%> (ø)

... and 3 files with indirect coverage changes

@lgoettgens lgoettgens closed this Jul 14, 2023
@lgoettgens lgoettgens reopened this Jul 14, 2023
@@ -86,7 +86,7 @@ end
x=matrix(F,4,4,[1,z,0,0,0,1,z^2,z,z,0,0,1,0,0,z+1,0])
y=x+transpose(x)
@test is_symmetric(y)
@test is_hermitian_matrix(x+conjugate_transpose(x))
@test is_hermitian(x+conjugate_transpose(x))
@test is_skewsymmetric_matrix(y)
Copy link
Member

Choose a reason for hiding this comment

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

I am fine with this change, but then perhaps we should also do the same for is_skewsymmetric ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Please see #2555 for this.
There are two semantically different implementations that would be merged by renaming is_skewsymmetric_matrix.

@lgoettgens
Copy link
Member Author

The errors on nightly and 1.10-alpha1 are not due to changes here.

@thofma thofma merged commit 5002dbb into oscar-system:master Jul 17, 2023
@lgoettgens lgoettgens deleted the lg/is_hermitian branch July 17, 2023 18:22
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.

3 participants