• 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

Uncovered Existing Lines

Lines Coverage ∆ File
1
90.82
0.17% stdlib/LinearAlgebra/src/matmul.jl
2
81.09
-0.21% stdlib/REPL/src/REPL.jl
3
78.26
-13.04% base/locks-mt.jl
14
96.87
0.01% stdlib/LinearAlgebra/src/symmetric.jl
33
87.92
-0.03% base/compiler/typelattice.jl
51
87.55
0.15% base/reflection.jl
Jobs
ID Job ID Ran Files Coverage
1 #37879.1 23 Aug 2024 10:34AM UTC 361
87.84
Source Files on build #37879
  • Tree
  • List 361
  • Changed 268
  • Source Changed 0
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • 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