We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35370f8 commit 58495b4Copy full SHA for 58495b4
src/theoretical/transiogram/spherical.jl
@@ -29,7 +29,7 @@ function (t::SphericalTransiogram)(h)
29
v = 3(h′ / r′) / 2 - (h′ / r′)^3 / 2
30
T = typeof(p[1] * v)
31
SMatrix{L,L}(
32
- i == j ? (h′ < r′) * T(1 - (1 - p[j]) * v) + (h′ ≥ r′) * T(p[j]) :
33
- (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
34
)
35
end
0 commit comments