Skip to content

Commit b8406d8

Browse files
committed
Do not allocate unused F[lmax+1] index for massless neutrinos
1 parent 20523ef commit b8406d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/models/neutrinos.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function massless_neutrinos(g; lmax = 6, name = :ν, kwargs...)
99

1010
vars = @variables begin
1111
F0(τ, k), [description = "Distribution function monopole"]
12-
F(τ, k)[1:lmax+1], [description = "Distribution function multipoles"]
12+
F(τ, k)[1:lmax], [description = "Distribution function multipoles"]
1313
δ(τ, k), [description = "Overdensity"]
1414
θ(τ, k), [description = "Velocity divergence"]
1515
σ(τ, k), [description = "Shear stress"]

0 commit comments

Comments
 (0)