Commit 196d1fad authored by Junpeng Lao's avatar Junpeng Lao

fix naming

parent ae6c1bb5
......@@ -45,7 +45,7 @@ def log1mexp_numpy(x):
np.log1p(-np.exp(-x)))
def logdiffexp(a, b):
def logdiffexp_numpy(a, b):
"""log(exp(a) - exp(b))"""
return a + log1mexp_numpy(a - b)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment