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

ArgumentOutOfRangeException when calling RankedMap.ElementsBetween(lower, upper) #3

Open
sandimschuh opened this issue Oct 11, 2018 · 0 comments

Comments

@sandimschuh
Copy link

I get this Exception when calling ElementsBetween with identical values >0 for lower and upper.

ElementsBetween(0, 0) --> works
ElementsBetween(1, 1) --> throws

my RankedMap contains 10,000,000 items with 1000 distinct key values.

Stacktrace:

bei System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
bei Kaos.Collections.RankedMap`2.<ElementsBetween>d__55.MoveNext()
bei System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
bei System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
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