Skip to content

Commit

Permalink
Merge pull request #58 from CiaranOMara/hotfix/issue_54
Browse files Browse the repository at this point in the history
Remove erroneous constructor
  • Loading branch information
CiaranOMara authored Apr 16, 2023
2 parents fd51a17 + cbffec5 commit 2ed8254
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/IntervalTrees.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1343,9 +1343,6 @@ mutable struct IntervalIntersectionIterator{F, K, V, B}
return new{F,K,V,B}(filter, intersection, t, query)
end

function IntervalIntersectionIterator{F,K,V,B}() where {F,K,V,B}
return new{F,K,V,B}(Intersection{F, K, V, B}())
end
end

Base.eltype(::Type{IntervalIntersectionIterator{F,K,V,B}}) where {F,K,V,B} = V
Expand Down

0 comments on commit 2ed8254

Please sign in to comment.