Skip to content

Commit 5cc8c88

Browse files
committed
update for KernelFunctions
1 parent ddf208b commit 5cc8c88

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/interp/gp_fast/low_level.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ Optional Inputs:
2828
function construct_gp_prior(; smooth_factor_σ²::Real = 1, smooth_factor_l::Real = 1, smooth_factor::Real = 1, σ²::Real = 0.5, l::Real = 5.8e-5)
2929
σ² *= smooth_factor_σ² * smooth_factor
3030
l *= smooth_factor_l * smooth_factor
31-
k = σ² * transform(Matern52Kernel(), 1 / l)
31+
#k = σ² * transform(Matern52Kernel(), 1 / l)
32+
k = σ² * with_lengthscale(Matern52Kernel(), 1 / l)
3233
f_naive = GP(k)
3334
#f = to_sde(f_naive) # if develop issues with StaticArrays could revert to this
3435
f = to_sde(f_naive, SArrayStorage(Float64))

0 commit comments

Comments
 (0)