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

RimuQMC / Rimu.jl / 12442692251
94%

Build:
DEFAULT BRANCH: develop
Ran 21 Dec 2024 06:10AM UTC
Jobs 1
Files 89
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

21 Dec 2024 05:49AM UTC coverage: 94.566% (-0.001%) from 94.567%
12442692251

push

github

web-flow
Fix normalisation in `single_particle_density` (#300)

The `single_particle_density` was not normalized properly when computing
densities of specific components. This PR fixes it.

Before:
```julia
julia> addr = FermiFS2C((1, 1, 1, 1), (1, 0, 0, 0))
julia> single_particle_density(addr; component=2)
(1, 0, 0, 0)
julia> DVec(addr => 1)
julia> single_particle_density(dvec; component=2)
(5, 0, 0, 0) # <- multiplied by the total number of particles for some reason
```
after:
```julia
julia> addr = FermiFS2C((1, 1, 1, 1), (1, 0, 0, 0))
julia> single_particle_density(addr; component=2)
(1, 0, 0, 0)
julia> DVec(addr => 1)
julia> single_particle_density(dvec; component=2)
(1, 0, 0, 0)
```

---------

Co-authored-by: Joachim Brand <joachim.brand@gmail.com>

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

6682 of 7066 relevant lines covered (94.57%)

8679731.22 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12442692251.1 21 Dec 2024 06:10AM UTC 89
94.57
GitHub Action Run
Source Files on build 12442692251
  • Tree
  • List 89
  • Changed 48
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #12442692251
  • 77334e54 on github
  • Prev Build on develop (#12303450233)
  • Next Build on develop (#12502640809)
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