Skip to content

Commit

Permalink
small bug fix for no intercept models
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas Clark committed Nov 1, 2023
1 parent c63ffe1 commit 3c57763
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/get_mvgam_priors.R
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ get_mvgam_priors = function(formula,
# in the model.frame
formula <- gp_to_s(formula)
if(!keep_intercept){
formula <- update(formula, trend_y ~ . -1)
formula <- update(formula, . ~ . - 1)
}
}

Expand Down
Binary file modified src/mvgam.dll
Binary file not shown.

0 comments on commit 3c57763

Please sign in to comment.