Skip to content

Commit

Permalink
Update opts.R - remove linear reference
Browse files Browse the repository at this point in the history
  • Loading branch information
seabbs authored Aug 28, 2024
1 parent 93bb8c5 commit 1074124
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions R/opts.R
Original file line number Diff line number Diff line change
Expand Up @@ -499,10 +499,6 @@ gp_opts <- function(basis_prop = 0.2,
matern_order <- Inf
} else if (kernel == "ou") {
matern_order <- 1 / 2
} else if (kernel == "linear") {
if (ls_mean != 21 || ls_sd != 7 || ls_min != 0 || ls_max != 60) {
warning("Length scale parameters are not used for the linear kernel.")
}
} else if (
!(is.infinite(matern_order) || matern_order %in% c(1 / 2, 3 / 2, 5 / 2))
) {
Expand Down

0 comments on commit 1074124

Please sign in to comment.