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

assert check in BinaryOperation constructor done with equals() instead of compare() #120

Closed
gonzalezsieira opened this issue Feb 26, 2015 · 0 comments
Assignees
Labels
Milestone

Comments

@gonzalezsieira
Copy link
Contributor

Cost elements are required to implement interface Comparable but not to override equals(), so assert conditions when instantiating BinaryOperation should be done using method compareTo()==0.

@gonzalezsieira gonzalezsieira self-assigned this Feb 26, 2015
@gonzalezsieira gonzalezsieira added this to the v1.0.0 milestone Feb 26, 2015
@pablormier pablormier modified the milestones: v1.0.0, v1.0.0-rc2 Jul 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants