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

make_range() function extend param #4

Open
tanghaibao opened this issue Aug 1, 2010 · 0 comments
Open

make_range() function extend param #4

tanghaibao opened this issue Aug 1, 2010 · 0 comments

Comments

@tanghaibao
Copy link
Owner

http://github.com/tanghaibao/quota-alignment/blob/master/cluster_utils.py#L139

Although quite uncommon - when extend is set to large a negative value - non-overlapping segments, after correcting the boundaries, can become overlapping. This is not intended behavior.

For example, say two segments (10, 20), (30, 40). and set the extend to be -100 (tolerating distance Nmax 100), becomes (-80, 10) and (-60, 30), thus overlapping.

since we correct all the boundaries before other calculations. not sure how to fix this.

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