Skip to content

Commit

Permalink
remove some more old array syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-buerkner committed Dec 7, 2023
1 parent a9943f6 commit 82d737a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inst/chunks/fun_gaussian_process.stan
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Returns:
* a vector to be added to the linear predictor
*/
vector gp(data vector[] x, real sdgp, vector lscale, vector zgp) {
vector gp(data array[] vector x, real sdgp, vector lscale, vector zgp) {
int Dls = rows(lscale);
int N = size(x);
matrix[N, N] cov;
Expand Down
2 changes: 1 addition & 1 deletion inst/chunks/fun_gaussian_process_approx.stan
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Returns:
* numeric values of the function evaluated at 'x'
*/
vector spd_cov_exp_quad(data vector[] x, real sdgp, vector lscale) {
vector spd_cov_exp_quad(data array[] vector x, real sdgp, vector lscale) {
int NB = dims(x)[1];
int D = dims(x)[2];
int Dls = rows(lscale);
Expand Down

0 comments on commit 82d737a

Please sign in to comment.