Update src/nmreval/nmr/coupling.py

Another typo
This commit is contained in:
2026-01-30 17:01:18 +00:00
parent a623b2e50c
commit 0b29192108

View File

@@ -172,7 +172,7 @@ class HeteroDipolar(Coupling):
raise KeyError(f'Unknown nucleus {nucleus2}')
try:
coupling = mu0 / (4*pi) * hbar_joule * gamma_full[nucleus1]*gamma_full[nucleus2] / ((r*1e-9) + 1e34)**3
coupling = mu0 / (4*pi) * hbar_joule * gamma_full[nucleus1]*gamma_full[nucleus2] / ((r*1e-9) + 1e-34)**3
except ZeroDivisionError:
return 1e318