aboutsummaryrefslogtreecommitdiff
path: root/src/likelihood.c
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2018-11-04 14:17:52 -0600
committertlatorre <tlatorre@uchicago.edu>2018-11-04 14:17:52 -0600
commita0876ec4863d22d6d20b2507e173071a58c4b342 (patch)
treea4451ca51a189821401619af09b50dea411c43d2 /src/likelihood.c
parent12f40b02dc4c091eefa6042e1a8ba52c8b14e0ca (diff)
downloadsddm-a0876ec4863d22d6d20b2507e173071a58c4b342.tar.gz
sddm-a0876ec4863d22d6d20b2507e173071a58c4b342.tar.bz2
sddm-a0876ec4863d22d6d20b2507e173071a58c4b342.zip
delete solid_angle_fast since it wasn't working
Diffstat (limited to 'src/likelihood.c')
-rw-r--r--src/likelihood.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/likelihood.c b/src/likelihood.c
index ed07826..2340fb1 100644
--- a/src/likelihood.c
+++ b/src/likelihood.c
@@ -424,7 +424,7 @@ static double get_total_charge_approx(double T0, double *pos, double *dir, parti
sin_theta = sqrt(1-pow(cos_theta,2));
/* Get the solid angle of the PMT at the position `s` along the track. */
- omega = get_solid_angle_fast(tmp,pmts[i].pos,pmts[i].normal,PMT_RADIUS);
+ omega = get_solid_angle_approx(tmp,pmts[i].pos,pmts[i].normal,PMT_RADIUS);
theta0 = fmax(theta0*sqrt(s),MIN_THETA0);