diff --git a/src/matrices/kms.jl b/src/matrices/kms.jl index 360882b..889b460 100644 --- a/src/matrices/kms.jl +++ b/src/matrices/kms.jl @@ -35,7 +35,7 @@ KMS{T}(n::Integer, rho::Number) where {T<:Number} = KMS{T}(n, convert(T, rho)) size(A::KMS) = (A.n, A.n) LinearAlgebra.ishermitian(::KMS) = true LinearAlgebra.isposdef(A::KMS) = A.n <= 1 || 0 < abs(A.rho) < 1 ? true : false -LinearAlgebra.issymmetric(A::KMS) = A.n <= 1 && typeof(A.rho) <: Real ? true : false +LinearAlgebra.issymmetric(A::KMS) = typeof(A.rho) <: Real ? true : false # functions @inline Base.@propagate_inbounds function getindex(A::KMS{T}, i::Integer, j::Integer) where {T}