-
Notifications
You must be signed in to change notification settings - Fork 41
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
Fix indexing with Slice #210
Conversation
Codecov Report
@@ Coverage Diff @@
## master #210 +/- ##
=======================================
Coverage 98.28% 98.28%
=======================================
Files 5 5
Lines 291 291
=======================================
Hits 286 286
Misses 5 5
Continue to review full report at Codecov.
|
7f08e06
to
dae0520
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I ended up having to try the tests to understand this, but now that I do the one thing I'd request is adding
r2 = IdentityUnitRange(2:10)
and
r2 = IdOffsetRange(Base.OneTo(9), 1)
to the tests. My reading is that it should still work, but given that no_offset_view
performs "real work" in these cases that's a bit different from what's in the test coverage, I think we should check.
I've added tests for |
Thanks a lot for fixing this so quickly 😄 Could you also tag the patch/call JuliaRegistries register? CI is still failing at https://github.com/TuringLang/MCMCChains.jl. |
Fixes #209
On master and Julia 1.0
After this PR: