-
Notifications
You must be signed in to change notification settings - Fork 133
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
Conversation
f7e3e45
to
3f978c8
Compare
The nightly failure seems to be #2543. |
Codecov Report
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
|
@@ -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) |
There was a problem hiding this comment.
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
?
There was a problem hiding this comment.
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
.
The errors on nightly and 1.10-alpha1 are not due to changes here. |
is_hermitian
already exists for other types and is more streamlined with similar function names, e.g.is_symmetric
.