Skip to content

Commit

Permalink
Add missing empty array
Browse files Browse the repository at this point in the history
Co-authored-by: Sam Abbott <[email protected]>
  • Loading branch information
jamesmbaazam and seabbs authored Dec 13, 2024
1 parent 846090d commit 8c208fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/stan/functions/primarycensored.stan
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ real primarycensored_cdf(data real d, int dist_id, array[] real params,
* real pwindow = 1.0;
* real D = positive_infinity();
* int primary_id = 1; // Uniform
* real primary_params = rep_array(0.0, 0);
* array[0] real primary_params = rep_array(0.0, 0);
* real log_cdf = primarycensored_lcdf(
* d, dist_id, params, pwindow, D, primary_id, primary_params
* );
Expand Down

0 comments on commit 8c208fd

Please sign in to comment.