aboutsummaryrefslogtreecommitdiff
path: root/utils/sddm/plot_energy.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/sddm/plot_energy.py')
-rwxr-xr-xutils/sddm/plot_energy.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/sddm/plot_energy.py b/utils/sddm/plot_energy.py
index 84a7094..a4b7005 100755
--- a/utils/sddm/plot_energy.py
+++ b/utils/sddm/plot_energy.py
@@ -23,6 +23,8 @@ from . import grouper, print_warning, AV_RADIUS, PSUP_RADIUS, read_hdf
import pandas as pd
from scipy.misc import logsumexp
+EPSILON = 1e-10
+
def lnfact(n):
return gammaln(n+1)