Skip to content

Commit

Permalink
fixed sum omega_i + nu_i to be between 0 and 360
Browse files Browse the repository at this point in the history
  • Loading branch information
reinhold-willcox committed Oct 11, 2024
1 parent a44ed76 commit 8c5d661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TuringModels.jl
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ function create_general_mcmc_model(;
end

dm2 = m2_i - m2_f
sum_ωi_νi = ω_i + ν_i
sum_ωi_νi = (ω_i + ν_i) % 360 # should be between 0 and 360 deg

return ( m1_i, m2_i, P_i, e_i, a_i, Ω_i, ω_i, i_i, sum_ωi_νi,
vkick, θ, ϕ, dm2, frac, ν_i,
Expand Down

0 comments on commit 8c5d661

Please sign in to comment.