Skip to content

Commit 9d757b7

Browse files
committed
Add comment
1 parent 120dc24 commit 9d757b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/operators.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,7 @@ function LinearAlgebra.hermitian(v::AbstractPolynomialLike, ::Symbol)
434434
)
435435
return v
436436
end
437+
# This is the same implementation as `LinearAlgebra.ishermitian(::Number)`
437438
LinearAlgebra.ishermitian(p::AbstractPolynomialLike) = p == conj(p)
438439

439440
LinearAlgebra.transpose(v::AbstractVariable) = v

0 commit comments

Comments
 (0)