Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Revisit (less|greater)_than_disjoint functions #45

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

omus
Copy link
Collaborator

@omus omus commented Jul 17, 2018

Changes suggested by @ararslan (#42 (comment)).

@omus omus mentioned this pull request Jul 17, 2018
return LeftEndpoint(a) < LeftEndpoint(b)
end

function less_than_disjoint(a::AbstractInterval, b::AbstractInterval)
isless_disjoint(a::AbstractInterval, b) = RightEndpoint(a) < b
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it's called isless-something it should call isless, not <.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. I need to some investigation here.

@codecov
Copy link

codecov bot commented Jul 17, 2018

Codecov Report

Merging #45 into master will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #45      +/-   ##
==========================================
- Coverage   98.07%   98.06%   -0.01%     
==========================================
  Files           6        6              
  Lines         208      207       -1     
==========================================
- Hits          204      203       -1     
  Misses          4        4
Impacted Files Coverage Δ
src/Intervals.jl 100% <ø> (ø) ⬆️
src/interval.jl 96.51% <100%> (-0.05%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 171b831...9a8a4fa. Read the comment docs.

@omus
Copy link
Collaborator Author

omus commented Jul 18, 2018

I have some additional ideas regarding isless and Intervals I want to explore.

@omus omus changed the title Revisit (less|greater)_than_disjoint functions WIP: Revisit (less|greater)_than_disjoint functions Jul 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants