aboutsummaryrefslogtreecommitdiff
path: root/src/electron.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/electron.c')
-rw-r--r--src/electron.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/electron.c b/src/electron.c
index 73fe24e..60bcec7 100644
--- a/src/electron.c
+++ b/src/electron.c
@@ -98,7 +98,7 @@ double electron_get_angular_distribution_alpha(double T0)
*
* where T0 is the initial energy of the electron in MeV and c0, c1, c2,
* and c3 are constants which I fit out. */
- return 3.141318e-1 + 2.08198e-01/log(6.33331e-03*T0 + 1.19213e+00);
+ return fmin(100.0,3.141318e-1 + 2.08198e-01/log(6.33331e-03*T0 + 1.19213e+00));
}
double electron_get_angular_distribution_beta(double T0)