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

Floor division #8

Open
danoneata opened this issue Oct 18, 2016 · 0 comments
Open

Floor division #8

danoneata opened this issue Oct 18, 2016 · 0 comments

Comments

@danoneata
Copy link
Contributor

In Python2.x, the division operator, /, computes the floor division if both arguments are ints. This happens when computing the fill and size similarities. Most likely this is not the behaviour one expects, as the two functions, _sim_fill and _sim_size, return mostly the same value, 1.0.

The same issue appears in the example as well.

@danoneata danoneata mentioned this issue Oct 18, 2016
Merged
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

No branches or pull requests

1 participant