Skip to content

Commit

Permalink
fix: the most annoying bug so far related to jacobians and thick discs
Browse files Browse the repository at this point in the history
  • Loading branch information
fjebaker committed Sep 9, 2023
1 parent f66fd67 commit 0feb2a9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/transfer-functions/cunningham-transfer-functions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,12 @@ function _rear_workhorse_with_impact_parameters(
d::AbstractAccretionDisc,
rₑ;
max_time = 2 * x[2],
redshift_pf = ConstPointFunctions.redshift(m, x),
offset_max = 0.4rₑ + 10,
zero_atol = 1e-7,
β₀ = 0,
α₀ = 0,
redshift_pf = ConstPointFunctions.redshift(m, x),
jacobian_disc = d,
tracer_kwargs...,
)
function _workhorse(θ)
Expand Down Expand Up @@ -180,7 +181,7 @@ function _rear_workhorse_with_impact_parameters(
J = jacobian_∂αβ_∂gr(
m,
x,
d,
jacobian_disc,
α,
β,
max_time;
Expand Down Expand Up @@ -214,6 +215,7 @@ function _rear_workhorse(
plane,
rₑ;
max_time = max_time,
jacobian_disc = d,
kwargs...,
)
n = _cartesian_surface_normal(rₑ, d)
Expand Down

0 comments on commit 0feb2a9

Please sign in to comment.