From bf50e57e174d3df074ca66193cc9c5f66a754c7f Mon Sep 17 00:00:00 2001 From: Brian Ward Date: Thu, 11 Apr 2024 09:36:45 -0400 Subject: [PATCH] Fix discrete_range_rng's return type, link to vectorization doc --- .../bounded_discrete_distributions.qmd | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/functions-reference/bounded_discrete_distributions.qmd b/src/functions-reference/bounded_discrete_distributions.qmd index b99e4730d..4d05d1219 100644 --- a/src/functions-reference/bounded_discrete_distributions.qmd +++ b/src/functions-reference/bounded_discrete_distributions.qmd @@ -659,12 +659,14 @@ The log of the discrete range complementary cumulative distribution function for the given y, lower and upper bounds. {{< since 2.26 >}} - -\index{{\tt \bfseries discrete\_range\_rng }!{\tt (ints l, ints u): int}|hyperpage} + +\index{{\tt \bfseries discrete\_range\_rng }!{\tt (ints l, ints u): ints}|hyperpage} -`int` **`discrete_range_rng`**`(ints l, ints u)`
\newline +`ints` **`discrete_range_rng`**`(ints l, ints u)`
\newline Generate a discrete variate between the given lower and upper bounds; may only be used in transformed data and generated quantities blocks. +For a description of argument and return types, see section +[vectorized PRNG functions](conventions_for_probability_functions.qmd#prng-vectorization). {{< since 2.26 >}}