Skip to content

compare-magnitude doesn't produce correct pred used by comparator #12

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

Closed
wants to merge 1 commit into from

Conversation

kymair
Copy link

@kymair kymair commented May 23, 2012

(comparator compare-magnitude) will always return -1. Should change "-" to "<" in compare-magnitude to produce correct boolean pred for comparator instead of numeric result (which always evaluate to true).

… "-" to "<" in `compare-magnitude` to produce correct boolean pred for `comparator` instead of numeric result(which always evaluate to true)
@kymair kymair closed this Mar 15, 2017
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.

1 participant