Skip to content

Commit

Permalink
Merge pull request #25272 from Sacha0/rempure
Browse files Browse the repository at this point in the history
remove legacy at-pure annotation from linalg/adjtrans
  • Loading branch information
vchuravy authored Dec 27, 2017
2 parents 1a6e34b + d0fa130 commit de87aca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/linalg/adjtrans.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ struct Transpose{T,S} <: AbstractMatrix{T}
end
end

@pure function checkeltype(::Type{Transform}, ::Type{ResultEltype}, ::Type{ParentEltype}) where {Transform, ResultEltype, ParentEltype}
function checkeltype(::Type{Transform}, ::Type{ResultEltype}, ::Type{ParentEltype}) where {Transform, ResultEltype, ParentEltype}
if ResultEltype !== transformtype(Transform, ParentEltype)
error(string("Element type mismatch. Tried to create an `$Transform{$ResultEltype}` ",
"from an object with eltype `$ParentEltype`, but the element type of the ",
Expand Down

0 comments on commit de87aca

Please sign in to comment.