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

JuliaLang / julia / #37712
77%

Build:
DEFAULT BRANCH: master
Ran 11 Mar 2024 11:19AM UTC
Jobs 1
Files 341
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

11 Mar 2024 06:50AM UTC coverage: 86.653% (-0.01%) from 86.665%
#37712

push

local

web-flow
LinAlg: fzeropreserving unit triangular broadcast preserves structure (#53648)

On master
```julia
julia> UU = UnitUpperTriangular(reshape([1:9;],3,3))
3×3 UnitUpperTriangular{Int64, Matrix{Int64}}:
 1  4  7
 ⋅  1  8
 ⋅  ⋅  1

julia> UU .* 2
3×3 Matrix{Int64}:
 2  8  14
 0  2  16
 0  0   2
```
This PR
```julia
julia> UU .* 2
3×3 UpperTriangular{Int64, Matrix{Int64}}:
 2  8  14
 ⋅  2  16
 ⋅  ⋅   2
```
This also improves performance, as the `materialize` skips the
structured zeros.
```julia
julia> UU = UnitUpperTriangular(rand(100, 100));

julia> @btime $UU .* 2;
  12.788 μs (3 allocations: 78.20 KiB) # master
  7.821 μs (3 allocations: 78.20 KiB) # PR
```

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

100 existing lines in 7 files now uncovered.

76365 of 88127 relevant lines covered (86.65%)

15665820.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #37712.1 11 Mar 2024 11:19AM UTC 0
86.65
Source Files on build #37712
Detailed source file information is not available for this build.
  • Back to Repo
  • 1ba83f02 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