Skip to content

Commit 58d7407

Browse files
committed
Revert diagonal.penalty to FALSE for smoothers
1 parent b471f91 commit 58d7407

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Type: Package
22
Package: sdmTMB
33
Title: Spatial and Spatiotemporal SPDE-Based GLMMs with 'TMB'
4-
Version: 0.6.0.9037
4+
Version: 0.6.0.9038
55
Authors@R: c(
66
person(c("Sean", "C."), "Anderson", , "sean@seananderson.ca",
77
role = c("aut", "cre"),

R/smoothers.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ parse_smoothers <- function(formula, data, knots = NULL, newdata = NULL, basis_p
4646
basis_out[[i]] <- basis[[i]] <- mgcv::smoothCon(
4747
object = obj, data = data,
4848
knots = knots, absorb.cons = TRUE, modCon = 3,
49-
diagonal.penalty = TRUE
49+
diagonal.penalty = FALSE
5050
)
5151
} else {
5252
basis[[i]] <- basis_prev[[i]] # predicting on new data

0 commit comments

Comments
 (0)