Skip to content

Commit 9e8badc

Browse files
committed
Merge branch 'master' of https://github.com/JuliaLang/julia
2 parents 3437970 + 85d2760 commit 9e8badc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

base/sparse/cholmod.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1144,7 +1144,7 @@ function issym(A::Sparse)
11441144
if s.stype != 0
11451145
return isreal(A)
11461146
end
1147-
i = symmetry(A, 1)[1] # 0 is faster, but had a bug before 3.0.5
1147+
i = symmetry(A, 1)[1]
11481148
return i == MM_SYMMETRIC || i == MM_SYMMETRIC_POSDIAG
11491149
end
11501150

@@ -1153,7 +1153,7 @@ function ishermitian(A::Sparse{Float64})
11531153
if s.stype != 0
11541154
return true
11551155
else
1156-
i = symmetry(A, 1)[1] # 0 is faster, but had a bug before 3.0.5
1156+
i = symmetry(A, 1)[1]
11571157
return i == MM_SYMMETRIC || i == MM_SYMMETRIC_POSDIAG
11581158
end
11591159
end
@@ -1162,7 +1162,7 @@ function ishermitian(A::Sparse{Complex{Float64}})
11621162
if s.stype != 0
11631163
return true
11641164
else
1165-
i = symmetry(A, 1)[1] # 0 is faster, but had a bug before 3.0.5
1165+
i = symmetry(A, 1)[1]
11661166
return i == MM_HERMITIAN || i == MM_HERMITIAN_POSDIAG
11671167
end
11681168
end

0 commit comments

Comments
 (0)