Skip to content

Commit

Permalink
variogram: fix cressie bug
Browse files Browse the repository at this point in the history
  • Loading branch information
MuellerSeb committed Mar 28, 2020
1 parent 50e2a52 commit 0649e61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gstools/variogram/estimator.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ cdef inline void normalization_cressie(
if counts[i] == 0:
counts[i] = 1
variogram[i] = (
(1./counts[i] * variogram[i])**4 /
0.5 * (1./counts[i] * variogram[i])**4 /
(0.457 + 0.494 / counts[i] + 0.045 / counts[i]**2)
)

Expand Down

0 comments on commit 0649e61

Please sign in to comment.