Skip to content

Commit 27f9ba4

Browse files
authored
Update src/basekernels/matern.jl
1 parent a08d44e commit 27f9ba4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/basekernels/matern.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ function ChainRulesCore.rrule(::typeof(_get_ν), k::T) where {T<:MaternKernel}
4949
end
5050

5151
@inline function kappa(k::MaternKernel, d::Real)
52-
nu = _get_ν(k)
53-
result = _matern(nu, d)
52+
result = _matern(_get_ν(k), d)
5453
return ifelse(iszero(d), one(result), result)
5554
end
5655

0 commit comments

Comments
 (0)