-
Notifications
You must be signed in to change notification settings - Fork 243
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
Sorting package / convention for (start, end) and (left, right) #721
Comments
If you all are interested in help with this, I'm happy to crack at it this weekend assuming no one beats me to it. |
Yes, please do! When harmonizing, I suggest reusing the Java convention where Anyway, it is not possible to allocate arrays bigger than |
@stephen-lazaro Let me know if you need on that issue! |
Thanks! Sorry there hasn't been much movement on this, got caught up in work a bit more than I expected. |
@stephen-lazaro @denisrosset To become more familiar with Spire, I took a crack at this. I just submitted the pull request. Mainly I added some unit tests so as to make tweaking the implementation safer. As per the suggestion, the indices are now consistent in their meaning across the methods (end is always exclusive). |
Solved by #738 ! Thanks |
…conf Remove old plugin_dir conf
The convention is not consistent across sort methods: sometimes the end/right point is inclusive, sometimes not.
This is in https://github.com/non/spire/blob/master/core/src/main/scala/spire/math/Sorting.scala
Suggested steps:
The text was updated successfully, but these errors were encountered: