Skip to content

Commit

Permalink
Fix minor typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajkeller34 committed Apr 19, 2018
1 parent beb7369 commit 3e12236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/promotion.jl
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,5 @@ Base.promote_rule(::Type{Quantity{S,D,U}}, ::Type{Quantity{T}}) where {T,S,D,U}
Quantity{promote_type(T,S)}

@static if VERSION >= v"0.7.0-DEV.3591"
Base.promote_typejoin(::Type{T}, ::Type{Quantity{T,D,U}}) where {T,S,D,U} = Quantity{T}
Base.promote_typejoin(::Type{T}, ::Type{Quantity{T,D,U}}) where {T,D,U} = Quantity{T}
end

0 comments on commit 3e12236

Please sign in to comment.