Skip to content

Commit a7ba2ea

Browse files
authored
style: remove spaces
Signed-off-by: Philipp Burckhardt <[email protected]>
1 parent 320a8a3 commit a7ba2ea

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ The [standard deviation][standard-deviation] for a [negative binomial][negative-
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_stdev( r, p );
222222
printf( "r: %.4f, p: %.4f, SD(X;r,p): %.4f\n", r, p, y );

0 commit comments

Comments
 (0)