From 5fd52a1a4423b1889b81717bfce0e2477a846a35 Mon Sep 17 00:00:00 2001 From: Dominik Demuth Date: Tue, 12 Sep 2023 07:07:36 +0000 Subject: [PATCH] Update src/nmreval/distributions/loggaussian.py fix typo; closes #119 --- src/nmreval/distributions/loggaussian.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nmreval/distributions/loggaussian.py b/src/nmreval/distributions/loggaussian.py index 8979750..ffe867f 100644 --- a/src/nmreval/distributions/loggaussian.py +++ b/src/nmreval/distributions/loggaussian.py @@ -69,7 +69,7 @@ class LogGaussian(Distribution): ret_val = _integration_parallel(_omega, _tau, sigma, _integrate_process_imag) 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()