parent
d8e5de6b7a
commit
5fd52a1a44
@ -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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user