From 9ca7b4a21737ae9183491ec463f98f913da794cf Mon Sep 17 00:00:00 2001 From: Jonah Miller Date: Thu, 19 Dec 2024 09:41:11 -0700 Subject: [PATCH] try also allowing smaller biases --- core/interact.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/interact.c b/core/interact.c index 2a69bc5..2f32ee0 100644 --- a/core/interact.c +++ b/core/interact.c @@ -40,7 +40,7 @@ double bound_bias(double bias, double nu, int type, int interaction, // Another BOUND_BIAS method. Assumes large hotspots, may work fine instead // assuming ~GM/c^2 length scale for hot spots. double dtau = conservative_dtau_est(nu, type, interaction, m); - bias = MY_MIN(bias, 1. / (dtau * RAD_SCATT_TYPES)); + bias = MY_MIN(bias, 1. / (dtau * RAD_NUM_TYPES * RAD_SCATT_TYPES)); bias = MY_MAX(bias, 1.); return bias;