Skip to content

Commit cd4fa38

Browse files
chore: minor updates
1 parent 460f6b5 commit cd4fa38

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

lib/node_modules/@stdlib/stats/base/dists/betaprime/mode/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ for ( i = 0; i < 10; i++ ) {
172172

173173
#### stdlib_base_dists_betaprime_mode( alpha, beta )
174174

175-
Returns the mode for a beta prime distribution with first shape parameter `alpha` and second shape parameter `beta`.
175+
Returns the mode of a beta prime distribution with first shape parameter `alpha` and second shape parameter `beta`.
176176

177177
```c
178178
double y = stdlib_base_dists_betaprime_mode( 1.0, 2.0 );

lib/node_modules/@stdlib/stats/base/dists/betaprime/mode/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ bench( pkg, function benchmark( b ) {
5050

5151
b.tic();
5252
for ( i = 0; i < b.iterations; i++ ) {
53-
y = mode( alpha[ i%100 ], beta[ i%100 ] );
53+
y = mode( alpha[ i % len ], beta[ i % len ] );
5454
if ( isnan( y ) ) {
5555
b.fail( 'should not return NaN' );
5656
}

lib/node_modules/@stdlib/stats/base/dists/betaprime/mode/benchmark/benchmark.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ bench( pkg+'::native', opts, function benchmark( b ) {
5959

6060
b.tic();
6161
for ( i = 0; i < b.iterations; i++ ) {
62-
y = mode( alpha[ i%100 ], beta[ i%100 ] );
62+
y = mode( alpha[ i % len ], beta[ i % len ] );
6363
if ( isnan( y ) ) {
6464
b.fail( 'should not return NaN' );
6565
}

lib/node_modules/@stdlib/stats/base/dists/betaprime/mode/examples/c/example.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
* limitations under the License.
1717
*/
1818

19-
#include "stdlib/constants/float64/eps.h"
2019
#include "stdlib/stats/base/dists/betaprime/mode.h"
20+
#include "stdlib/constants/float64/eps.h"
2121
#include <stdio.h>
2222
#include <stdlib.h>
2323

lib/node_modules/@stdlib/stats/base/dists/betaprime/mode/include/stdlib/stats/base/dists/betaprime/mode.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ extern "C" {
2727
#endif
2828

2929
/**
30-
* Returns the mode for a beta prime distribution with first shape parameter `alpha` and second shape parameter `beta`.
30+
* Returns the mode of a beta prime distribution with first shape parameter `alpha` and second shape parameter `beta`.
3131
*/
3232
double stdlib_base_dists_betaprime_mode( const double alpha, const double beta );
3333

lib/node_modules/@stdlib/stats/base/dists/betaprime/mode/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#include "stdlib/stats/base/dists/betaprime/mode.h"
2020

2121
/**
22-
* Returns the mode for a beta prime distribution with first shape parameter `alpha` and second shape parameter `beta`.
22+
* Returns the mode of a beta prime distribution with first shape parameter `alpha` and second shape parameter `beta`.
2323
*
2424
* @param x input value
2525
* @param alpha first shape parameter

0 commit comments

Comments
 (0)