Skip to content

Commit f19b773

Browse files
authored
docs: remove trailing spaces
Signed-off-by: Philipp Burckhardt <[email protected]>
1 parent d10fd51 commit f19b773

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/negative-binomial/mode

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/stats/base/dists/negative-binomial/mode/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ The [mode][mode] for a [negative-binomial][negative-binomial-distribution] rando
4141

4242
<!-- </equation> -->
4343

44-
where `r` is the number of successes until experiment is stopped and `p` is the success probability in each trial. The random variable `X` denotes the number of failures until the `r` success is reached.
44+
where `r` is the number of successes until experiment is stopped and `p` is the success probability in each trial. The random variable `X` denotes the number of failures until the `r` success is reached.
4545

4646
</section>
4747

@@ -216,7 +216,7 @@ int main( void ) {
216216
int i;
217217
218218
for ( i = 0; i < 10; i++ ) {
219-
r = random_uniform( 1.0, 100.0 );
219+
r = random_uniform( 1.0, 100.0 );
220220
p = random_uniform( 0.01, 0.99 );
221221
y = stdlib_base_dists_negative_binomial_mode( r, p );
222222
printf( "r: %f, p: %.4f, mode(X;r,p): %.4f\n", r, p, y );

0 commit comments

Comments
 (0)