Skip to content

Commit

Permalink
Refactor empirical variogram
Browse files Browse the repository at this point in the history
  • Loading branch information
juliohm committed Oct 15, 2024
1 parent b0ec241 commit 5c98686
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/empirical/variogram.jl
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ function EmpiricalVariogram(
end

# empirical variograms are defined on point sets
𝒫 = PointSet([centroid(𝒟, i) for i in 1:nelem])
𝒮 = georef(𝒯, 𝒫)
𝒮 = georef(𝒯, [centroid(𝒟, i) for i in 1:nelem])

# accumulate data with chosen algorithm
abscissa, ordinate, counts = accumulate(𝒮, var₁, var₂, estim, algo)
Expand Down

0 comments on commit 5c98686

Please sign in to comment.