Skip to content

Commit c411839

Browse files
authored
Remove redundant definitions
1 parent d50e35a commit c411839

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/generics.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22

33
## Basic functions
44

5-
Base.eltype(a::AbstractPDMat{T}) where {T<:Real} = T
6-
Base.eltype(::Type{AbstractPDMat{T}}) where {T<:Real} = T
7-
Base.ndims(a::AbstractPDMat) = 2
85
Base.size(a::AbstractPDMat) = (dim(a), dim(a))
96
Base.size(a::AbstractPDMat, i::Integer) = 1 <= i <= 2 ? dim(a) : 1
107
Base.length(a::AbstractPDMat) = abs2(dim(a))

0 commit comments

Comments
 (0)