Skip to content

Commit

Permalink
minor, add explicit return statement on acf matern function
Browse files Browse the repository at this point in the history
  • Loading branch information
lionelvoirol committed Nov 9, 2023
1 parent c8d0895 commit b80c8d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/model_matern.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ matern_autocovariance = function(theta, n) {
alpha = theta[3]

acf = c(sigma2, sigma2*Ma(lambda* (1:(n-1)), alpha = alpha))
return(acf)
}

matern_theta_to_exp = function(theta) {
Expand Down

0 comments on commit b80c8d3

Please sign in to comment.