Skip to content

Commit d7096c3

Browse files
authored
Merge pull request #86 from mohamed82008/patch-1
Remove input eltype restriction to inner constructor of PDiagMat
2 parents eeec1c1 + 6e42330 commit d7096c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pdiagmat.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ struct PDiagMat{T<:Real,V<:AbstractVector} <: AbstractPDMat{T}
66
diag::V
77
inv_diag::V
88

9-
PDiagMat{T,S}(d::Int,v::AbstractVector{T},inv_v::AbstractVector{T}) where {T,S} =
9+
PDiagMat{T,S}(d::Int,v::AbstractVector,inv_v::AbstractVector) where {T,S} =
1010
new{T,S}(d,v,inv_v)
1111
end
1212

0 commit comments

Comments
 (0)