Skip to content

Commit

Permalink
🤖 Format .jl files (#46)
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 Nov 1, 2024
1 parent 35370f8 commit 58495b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/theoretical/transiogram/spherical.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function (t::SphericalTransiogram)(h)
v = 3(h′ / r′) / 2 - (h′ / r′)^3 / 2
T = typeof(p[1] * v)
SMatrix{L,L}(
i == j ? (h′ < r′) * T(1 - (1 - p[j]) * v) + (h′ r′) * T(p[j]) :
(h′ < r′) * T((p[j] * v)) + (h′ r′) * T(p[j]) for i in 1:L, j in 1:L
i == j ? (h′ < r′) * T(1 - (1 - p[j]) * v) + (h′ r′) * T(p[j]) : (h′ < r′) * T((p[j] * v)) + (h′ r′) * T(p[j])
for i in 1:L, j in 1:L
)
end

0 comments on commit 58495b4

Please sign in to comment.