Skip to content

Commit 94a4683

Browse files
committed
format
1 parent 9320b00 commit 94a4683

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/GaussianProcess.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,15 +235,15 @@ Warning: if one uses `GPJL()` and wishes to modify positional arguments. The fir
235235
function optimize_hyperparameters!(gp::GaussianProcess{GPJL}, args...; kwargs...)
236236

237237
if !(haskey(kwargs, :kernbounds)) # if no bounds defined
238-
n_hparams=length(get_params(gp)[1])
238+
n_hparams = length(get_params(gp)[1])
239239
low = repeat([log(1e-5)], n_hparams) # bounds provided in log space
240240
high = repeat([log(1e5)], n_hparams)
241-
ext_kwargs = merge((; kwargs...), (; kernbounds=(low,high), ))
241+
ext_kwargs = merge((; kwargs...), (; kernbounds = (low, high)))
242242
else
243243
ext_kwargs = (; kwargs...)
244244
end
245245
N_models = length(gp.models)
246-
246+
247247
for i in 1:N_models
248248
# always regress with noise_learn=false; if gp was created with noise_learn=true
249249
# we've already explicitly added noise to the kernel

0 commit comments

Comments
 (0)