Skip to content

Commit

Permalink
Update array syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
andrjohns authored and dmenne committed Sep 9, 2023
1 parent 158261e commit af7781c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
6 changes: 3 additions & 3 deletions DESCRIPTION
Expand Up @@ -22,7 +22,7 @@ Depends:
Imports:
dplyr,
purrr,
rstan (>= 2.21.2),
rstan (>= 2.26.0),
rstantools (>= 2.1.1),
stringr,
tidyr,
Expand All @@ -38,8 +38,8 @@ Suggests:
parallelly,
rmarkdown
LinkingTo:
StanHeaders,
rstan,
StanHeaders (>= 2.26.0),
rstan (>= 2.26.0),
BH (>= 1.72),
Rcpp,
RcppEigen
Expand Down
5 changes: 5 additions & 0 deletions configure
@@ -0,0 +1,5 @@
#! /bin/sh

# Generated by rstantools. Do not edit by hand.

"${R_HOME}/bin/Rscript" -e "rstantools::rstan_config()"
5 changes: 5 additions & 0 deletions configure.win
@@ -0,0 +1,5 @@
#! /bin/sh

# Generated by rstantools. Do not edit by hand.

"${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" -e "rstantools::rstan_config()"
2 changes: 1 addition & 1 deletion inst/stan/breath_test_1.stan
Expand Up @@ -5,7 +5,7 @@ data{
int<lower=0> n_record; // Number of records
int<lower=1> student_t_df; // using Gaussian for student_t_df >= 10
real<lower=0> dose;
int<lower=0> pat_group_i[n];
array[n] int<lower=0> pat_group_i;
vector<lower=0>[n] minute;
vector<lower=-30>[n] pdr;
}
Expand Down

0 comments on commit af7781c

Please sign in to comment.