Skip to content

Commit 592f5d4

Browse files
committed
fix reference to non-existing variable
1 parent 9b44f28 commit 592f5d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stan/inc2prev.stan

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ parameters {
7272
vector<lower = 0, upper = 1>[ab_obs ? 2 : 0] gamma; // antibody waning (inf & vac)
7373
vector<lower = 0, upper = 1>[ab_obs ? 1 : 0] delta; // vaccine efficacy
7474
vector<lower = 0, upper = 1>[ab_obs ? 1 : 0] init_dab; // initial proportion with antibodies
75-
vector<lower = 0>[n_ab > 0 ? 1 : 0] k; // Potential loss of efficacy from new infections in already seropositive people
76-
vector<lower = 0>[n_ab > 0 ? 1 : 0] l; // Potential loss of efficacy from new doses being administered to already seropositive people
75+
vector<lower = 0>[ab_obs ? 1 : 0] k; // Potential loss of efficacy from new infections in already seropositive people
76+
vector<lower = 0>[ab_obs ? 1 : 0] l; // Potential loss of efficacy from new doses being administered to already seropositive people
7777
}
7878

7979
transformed parameters {

0 commit comments

Comments
 (0)