Skip to content

Commit

Permalink
Merge pull request #86 from mohamed82008/patch-1
Browse files Browse the repository at this point in the history
Remove input eltype restriction to inner constructor of PDiagMat
  • Loading branch information
andreasnoack committed Dec 5, 2018
2 parents eeec1c1 + 6e42330 commit d7096c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pdiagmat.jl
Expand Up @@ -6,7 +6,7 @@ struct PDiagMat{T<:Real,V<:AbstractVector} <: AbstractPDMat{T}
diag::V
inv_diag::V

PDiagMat{T,S}(d::Int,v::AbstractVector{T},inv_v::AbstractVector{T}) where {T,S} =
PDiagMat{T,S}(d::Int,v::AbstractVector,inv_v::AbstractVector) where {T,S} =
new{T,S}(d,v,inv_v)
end

Expand Down

0 comments on commit d7096c3

Please sign in to comment.