Skip to content

Commit

Permalink
potential knots bug
Browse files Browse the repository at this point in the history
  • Loading branch information
JaimeRZP committed Nov 1, 2023
1 parent 6bff962 commit 6554f55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core.jl
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,9 @@ Cosmology(cpar::CosmoPar, settings::Settings; kwargs...) = begin
# Distance to LSS
chi_LSS = chis[end]
# OPT: tolerances, interpolation method
chii = linear_interpolation(zs, chis, extrapolation_bc=Line())
zi = linear_interpolation(chis, zs, extrapolation_bc=Line())
ti = linear_interpolation(zs_chi, ts, extrapolation_bc=Line())
chii = linear_interpolation(zs_chi, Vector(chis), extrapolation_bc=Line())
ti = linear_interpolation(zs_chi, Vector(ts), extrapolation_bc=Line())
zi = linear_interpolation(Vector(chis), Vector(zs_chi), extrapolation_bc=Line())
Dzs, Dzi, fs8zi = get_growth(cpar, settings; kwargs...)

if settings.Pk_mode == :linear
Expand Down

0 comments on commit 6554f55

Please sign in to comment.