Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Jan 22, 2025
1 parent 9321c72 commit d7624ca
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<section class="release" id="unreleased">

## Unreleased (2025-01-19)
## Unreleased (2025-01-22)

<section class="features">

Expand Down Expand Up @@ -34,6 +34,7 @@ This release closes the following issue:

<details>

- [`f2d2150`](https://github.com/stdlib-js/stdlib/commit/f2d21507493d82265ec30daa3aa00a0829e902c9) - **bench:** refactor random number generation in `stats/base/dists/cauchy` [(#4850)](https://github.com/stdlib-js/stdlib/pull/4850) _(by Karan Anand)_
- [`1188836`](https://github.com/stdlib-js/stdlib/commit/118883606bab688a753219662cb78850e7a48237) - **feat:** add C implementation for `stats/base/dists/cauchy/median` [(#3958)](https://github.com/stdlib-js/stdlib/pull/3958) _(by Vivek Maurya, Philipp Burckhardt, stdlib-bot)_

</details>
Expand All @@ -46,8 +47,9 @@ This release closes the following issue:

### Contributors

A total of 2 people contributed to this release. Thank you to the following contributors:
A total of 3 people contributed to this release. Thank you to the following contributors:

- Karan Anand
- Philipp Burckhardt
- Vivek Maurya

Expand Down
6 changes: 3 additions & 3 deletions benchmark/benchmark.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

var bench = require( '@stdlib/bench-harness' );
var Float64Array = require( '@stdlib/array-float64' );
var randu = require( '@stdlib/random-base-randu' );
var uniform = require( '@stdlib/random-base-uniform' );
var isnan = require( '@stdlib/math-base-assert-is-nan' );
var EPS = require( '@stdlib/constants-float64-eps' );
var pkg = require( './../package.json' ).name;
Expand All @@ -42,8 +42,8 @@ bench( pkg, function benchmark( b ) {
x0 = new Float64Array( len );
gamma = new Float64Array( len );
for ( i = 0; i < len; i++ ) {
x0[ i ] = ( randu() * 100.0 ) - 50.0;
gamma[ i ] = ( randu() * 20.0 ) + EPS;
x0[ i ] = uniform( -50.0, 50.0 );
gamma[ i ] = uniform( EPS, 20.0 );
}

b.tic();
Expand Down
6 changes: 3 additions & 3 deletions benchmark/benchmark.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
var resolve = require( 'path' ).resolve;
var bench = require( '@stdlib/bench-harness' );
var Float64Array = require( '@stdlib/array-float64' );
var randu = require( '@stdlib/random-base-randu' );
var uniform = require( '@stdlib/random-base-uniform' );
var EPS = require( '@stdlib/constants-float64-eps' );
var isnan = require( '@stdlib/math-base-assert-is-nan' );
var tryRequire = require( '@stdlib/utils-try-require' );
Expand Down Expand Up @@ -51,8 +51,8 @@ bench( pkg+'::native', opts, function benchmark( b ) {
x0 = new Float64Array( len );
gamma = new Float64Array( len );
for ( i = 0; i < len; i++ ) {
x0[ i ] = ( randu() * 100.0 ) - 50.0;
gamma[ i ] = ( randu() * 20.0 ) + EPS;
x0[ i ] = uniform( -50.0, 50.0 );
gamma[ i ] = uniform( EPS, 20.0 );
}

b.tic();
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"@stdlib/constants-float64-ninf": "^0.2.2",
"@stdlib/constants-float64-pinf": "^0.2.2",
"@stdlib/random-base-randu": "^0.2.1",
"@stdlib/random-base-uniform": "^0.2.1",
"@stdlib/utils-try-require": "^0.2.2",
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
"istanbul": "^0.4.1",
Expand Down

0 comments on commit d7624ca

Please sign in to comment.