• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

JuliaLang / julia / #37879
77%

Build:
DEFAULT BRANCH: master
Ran 23 Aug 2024 10:34AM UTC
Jobs 1
Files 361
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Aug 2024 07:25AM UTC coverage: 87.842% (+0.05%) from 87.797%
#37879

push

local

web-flow
Fix indexing in _mapreducedim for OffsetArrays (#55506)

The destination array was being indexed incorrectly if it had offset
indices. This led to the following on nightly:
```julia
julia> using OffsetArrays

julia> r = 5:100;

julia> a = OffsetVector(r, 2);

julia> sum(a, dims=1)
1-element OffsetArray(::Vector{Int64}, 3:3) with eltype Int64 with indices 3:3:
 0

julia> sum(a)
5040
```
The indexing was marked `@inbounds`, so this was not throwing an error.
This PR also follows #55329 and only marks the indexing operations as
`@inbounds`, omitting the function calls.

---------

Co-authored-by: Matt Bauman <mbauman@juliahub.com>

3 of 3 new or added lines in 1 file covered. (100.0%)

104 existing lines in 6 files now uncovered.

78198 of 89021 relevant lines covered (87.84%)

16442756.62 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #37879.1 23 Aug 2024 10:34AM UTC 0
87.84
Source Files on build #37879
Detailed source file information is not available for this build.
  • Back to Repo
  • 3d20a921 on github
  • Prev Build on master
  • Next Build on master
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc