Skip to content

Commit 3e38e26

Browse files
committed
Merge branch 'develop' of https://github.com/stdlib-js/stdlib into develop
2 parents b2cefbe + 696cf19 commit 3e38e26

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lib/node_modules/@stdlib/math/base/special/gammasgn/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ bench( pkg, function benchmark( b ) {
3434
var y;
3535
var i;
3636

37-
x = uniform( 100, 0.0, 171.0 );
37+
x = uniform( 100, -10.0, 10.0 );
3838

3939
b.tic();
4040
for ( i = 0; i < b.iterations; i++ ) {

lib/node_modules/@stdlib/math/base/special/gammasgn/benchmark/benchmark.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ bench( pkg+'::native', opts, function benchmark( b ) {
4343
var y;
4444
var i;
4545

46-
x = uniform( 100, 0.0, 171.0 );
46+
x = uniform( 100, -10.0, 10.0 );
4747

4848
b.tic();
4949
for ( i = 0; i < b.iterations; i++ ) {

lib/node_modules/@stdlib/math/base/special/gammasgn/benchmark/c/native/benchmark.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ static double benchmark( void ) {
9797
int i;
9898

9999
for ( i = 0; i < 100; i++ ) {
100-
x[ i ] = ( 171.0 * rand_double() ) - 0.0;
100+
x[ i ] = ( 100.0 * rand_double() ) - 50.0;
101101
}
102102

103103
t = tic();

lib/node_modules/@stdlib/math/base/special/gammasgn/benchmark/python/scipy/benchmark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def print_results(elapsed):
7373
def benchmark():
7474
"""Run the benchmark and print benchmark results."""
7575
setup = "from scipy.special import gammasgn; from random import random;"
76-
stmt = "y = gammasgn(171.0*random() - 0.0)"
76+
stmt = "y = gammasgn(100.0*random() - 50.0)"
7777

7878
t = timeit.Timer(stmt, setup=setup)
7979

0 commit comments

Comments
 (0)