1
0
forked from IPKM/nmreval

Update src/nmreval/distributions/loggaussian.py

fix typo; closes #119
This commit is contained in:
Dominik Demuth 2023-09-12 07:07:36 +00:00
parent d8e5de6b7a
commit 5fd52a1a44

View File

@ -69,7 +69,7 @@ class LogGaussian(Distribution):
ret_val = _integration_parallel(_omega, _tau, sigma, _integrate_process_imag) ret_val = _integration_parallel(_omega, _tau, sigma, _integrate_process_imag)
ret_val /= _omega[:, None] ret_val /= _omega[:, None]
ret_val[_omega == 0, :] = tau[None, :] * np.exp(sigma**2 / 2) ret_val[_omega == 0, :] = _tau[None, :] * np.exp(sigma**2 / 2)
return ret_val.squeeze() return ret_val.squeeze()