Skip to content

Commit

Permalink
🤖 Format .jl files (#11)
Browse files Browse the repository at this point in the history
Co-authored-by: juliohm <[email protected]>
  • Loading branch information
github-actions[bot] and juliohm authored May 24, 2024
1 parent 8666122 commit ed4e5cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/covariance.jl
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Base.range(cov::Covariance) = range(cov.γ)
Scale metric ball of covariance `cov` with strictly
positive scaling factor `s`.
"""
scale(cov::Cov, s::Real) where {Cov <: Covariance} = Cov(scale(cov.γ, s))
scale(cov::Cov, s::Real) where {Cov<:Covariance} = Cov(scale(cov.γ, s))

"""
cov(g₁, g₂)
Expand Down
2 changes: 1 addition & 1 deletion test/nesting.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
γ = GaussianVariogram() + ExponentialVariogram()
@test GeoStatsFunctions.returntype(γ, Point(0.0, 0.0, 0.0), Point(0.0, 0.0, 0.0)) == Float64
γ = GaussianVariogram(sill=1.0f0, range=1.0f0, nugget=0.1f0)
@test GeoStatsFunctions.returntype(γ, Point(0f0, 0f0, 0f0), Point(0f0, 0f0, 0f0)) == Float32
@test GeoStatsFunctions.returntype(γ, Point(0.0f0, 0.0f0, 0.0f0), Point(0.0f0, 0.0f0, 0.0f0)) == Float32

# nested model with matrix coefficients
C₁ = [1.0 0.5; 0.5 2.0]
Expand Down

0 comments on commit ed4e5cf

Please sign in to comment.