Skip to content

Commit

Permalink
fixup! No spaces when using simple type parameters
Browse files Browse the repository at this point in the history
Co-authored-by: Fernando Chorney <[email protected]>
  • Loading branch information
omus and fchorney authored Jun 11, 2020
1 parent 11f70ed commit 88f26f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/anchoredinterval.jl
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ function Base.isempty(interval::AnchoredInterval{P,T}) where {P,T}
return P == zero(P) && !isclosed(interval)
end

function Base.intersect(a::AnchoredInterval{P,T}, b::AnchoredInterval{Q, T}) where {P,Q,T}
function Base.intersect(a::AnchoredInterval{P,T}, b::AnchoredInterval{Q,T}) where {P,Q,T}
interval = invoke(intersect, Tuple{AbstractInterval{T}, AbstractInterval{T}}, a, b)

sp = isa(P, Period) ? canonicalize(typeof(P), span(interval)) : span(interval)
Expand Down

0 comments on commit 88f26f6

Please sign in to comment.