Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
juliohm committed Jan 23, 2025
1 parent 2d3a49b commit f881aef
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "GeoStatsProcesses"
uuid = "aa102bde-5a27-4b0c-b2c1-e7a7dcc4c3e7"
authors = ["Júlio Hoffimann <[email protected]> and contributors"]
version = "0.8.4"
version = "0.8.5"

[deps]
Bessels = "0e736298-9ec6-45e8-9647-e4fc86a2fe38"
Expand Down Expand Up @@ -38,8 +38,8 @@ Distances = "0.10"
Distributed = "1.9"
Distributions = "0.25"
FFTW = "1.7"
GeoStatsFunctions = "0.7"
GeoStatsModels = "0.6"
GeoStatsFunctions = "0.8"
GeoStatsModels = "0.7"
GeoTables = "1.21"
ImageQuilting = "1.0"
LinearAlgebra = "1.9"
Expand Down
2 changes: 1 addition & 1 deletion src/processes/field/gaussian/fft.jl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function randprep(::AbstractRNG, process::GaussianProcess, method::FFTMethod, se
# compute covariances between centroid and all points
𝒟c = [centroid(grid, cindex)]
𝒟p = [centroid(grid, i) for i in 1:nelements(grid)]
cs = sill(γ) .- GeoStatsFunctions.pairwise(γ, 𝒟c, 𝒟p)
cs = ustrip(sill)) .- GeoStatsFunctions.pairwise(γ, 𝒟c, 𝒟p)
C = reshape(cs, dims)

# move to frequency domain
Expand Down
9 changes: 6 additions & 3 deletions src/processes/field/gaussian/lu.jl
Original file line number Diff line number Diff line change
Expand Up @@ -80,16 +80,19 @@ function randprep(::AbstractRNG, process::GaussianProcess, method::LUMethod, set
𝒟d = [centroid(domain, i) for i in dlocs]
𝒟s = [centroid(domain, i) for i in slocs]

# retrieve total sill
s = ustrip(sill(γ))

# covariance between simulation locations
C₂₂ = sill(γ) .- GeoStatsFunctions.pairwise(γ, 𝒟s)
C₂₂ = s .- GeoStatsFunctions.pairwise(γ, 𝒟s)

if isempty(dlocs)
d₂ = zero(eltype(z₁))
L₂₂ = fact(Symmetric(C₂₂)).L
else
# covariance beween data locations
C₁₁ = sill(γ) .- GeoStatsFunctions.pairwise(γ, 𝒟d)
C₁₂ = sill(γ) .- GeoStatsFunctions.pairwise(γ, 𝒟d, 𝒟s)
C₁₁ = s .- GeoStatsFunctions.pairwise(γ, 𝒟d)
C₁₂ = s .- GeoStatsFunctions.pairwise(γ, 𝒟d, 𝒟s)

L₁₁ = fact(Symmetric(C₁₁)).L
B₁₂ = L₁₁ \ C₁₂
Expand Down

2 comments on commit f881aef

@juliohm
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/123582

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.8.5 -m "<description of version>" f881aefcdb2477a5eddf8ce8f0a4aa5d704a9a16
git push origin v0.8.5

Please sign in to comment.