Skip to content

Commit

Permalink
bug fix in predict function
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas Clark committed Dec 18, 2023
1 parent bccb098 commit dfd3007
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/get_linear_predictors.R
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ trend_Xp_matrix = function(newdata, trend_map, series = 'all',

trend_test <- newdata
trend_indicators <- vector(length = length(trend_test$time))
for(i in 1:length(trend_test[[1]])){
for(i in 1:length(trend_test$time)){
trend_indicators[i] <- trend_map$trend[which(trend_map$series ==
trend_test$series[i])]
}
Expand Down
Binary file modified src/mvgam.dll
Binary file not shown.

0 comments on commit dfd3007

Please sign in to comment.