From 8c208fda21f6bf34d9dbddeb543b7a24d8ea247a Mon Sep 17 00:00:00 2001 From: James Azam Date: Fri, 13 Dec 2024 16:48:29 +0000 Subject: [PATCH] Add missing empty array Co-authored-by: Sam Abbott --- inst/stan/functions/primarycensored.stan | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inst/stan/functions/primarycensored.stan b/inst/stan/functions/primarycensored.stan index 9dc63fe..30447f8 100644 --- a/inst/stan/functions/primarycensored.stan +++ b/inst/stan/functions/primarycensored.stan @@ -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 * );