Skip to content

Commit ae208d6

Browse files
Update generic.jl (#1343)
```julia julia> issymmetric(1) true julia> 1 isa AbstractMatrix false ```
1 parent 560276b commit ae208d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generic.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1316,7 +1316,7 @@ issymmetric(A::AbstractMatrix{<:Real}) = ishermitian(A)
13161316
"""
13171317
issymmetric(A) -> Bool
13181318
1319-
Test whether a matrix is symmetric.
1319+
Test whether a matrix or number is symmetric.
13201320
13211321
# Examples
13221322
```jldoctest

0 commit comments

Comments
 (0)