Skip to content

Commit 8eaafff

Browse files
Harsh MathurHarsh Mathur
authored andcommitted
fixed the error for js-tests
1 parent c8e8f02 commit 8eaafff

File tree

16 files changed

+21
-21
lines changed

16 files changed

+21
-21
lines changed

lib/node_modules/@stdlib/stats/base/ndarray/meanbkn/README.md renamed to lib/node_modules/@stdlib/stats/base/ndarray/meankbn/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The [arithmetic mean][arithmetic-mean] is defined as
5050
var meankbn = require( '@stdlib/stats/base/ndarray/meankbn' );
5151
```
5252

53-
#### meanbkn( arrays )
53+
#### meankbn( arrays )
5454

5555
Computes the [arithmetic mean][arithmetic-mean] of a one-dimensional ndarray.
5656

lib/node_modules/@stdlib/stats/base/ndarray/meanbkn/benchmark/benchmark.js renamed to lib/node_modules/@stdlib/stats/base/ndarray/meankbn/benchmark/benchmark.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var uniform = require( '@stdlib/random/array/uniform' );
2525
var isnan = require( '@stdlib/math/base/assert/is-nan' );
2626
var pow = require( '@stdlib/math/base/special/pow' );
2727
var pkg = require( './../package.json' ).name;
28-
var meanbkn = require( './../lib/main.js' );
28+
var meankbn = require( './../lib/main.js' );
2929

3030
// VARIABLES //
3131

@@ -51,7 +51,7 @@ function createBenchmark( len ) {
5151

5252
b.tic();
5353
for ( i = 0; i < b.iterations; i++ ) {
54-
v = meanbkn( x.length, x, 1 );
54+
v = meankbn( x.length, x, 1 );
5555
if ( isnan( v ) ) {
5656
b.fail( 'should not return NaN' );
5757
}

lib/node_modules/@stdlib/stats/base/ndarray/meanbkn/benchmark/benchmark.ndarray.js renamed to lib/node_modules/@stdlib/stats/base/ndarray/meankbn/benchmark/benchmark.ndarray.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var uniform = require( '@stdlib/random/array/uniform' );
2525
var isnan = require( '@stdlib/math/base/assert/is-nan' );
2626
var pow = require( '@stdlib/math/base/special/pow' );
2727
var pkg = require( './../package.json' ).name;
28-
var meanbkn = require( './../lib/ndarray.js' );
28+
var meankbn = require( './../lib/ndarray.js' );
2929

3030
// VARIABLES //
3131

@@ -52,7 +52,7 @@ function createBenchmark( len ) {
5252

5353
b.tic();
5454
for ( i = 0; i < b.iterations; i++ ) {
55-
v = meanbkn( x.length, x, 1, 0 );
55+
v = meankbn( x.length, x, 1, 0 );
5656
if ( isnan( v ) ) {
5757
b.fail( 'should not return NaN' );
5858
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

lib/node_modules/@stdlib/stats/base/ndarray/meanbkn/examples/index.js renamed to lib/node_modules/@stdlib/stats/base/ndarray/meankbn/examples/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
'use strict';
2020

2121
var discreteUniform = require( '@stdlib/random/array/discrete-uniform' );
22-
var meanbkn = require( './../lib' );
22+
var meankbn = require( './../lib' );
2323

2424
var x = discreteUniform( 10, -50, 50, {
2525
'dtype': 'float64'
2626
});
2727
console.log( x );
2828

29-
var v = meanbkn( x.length, x, 1 );
29+
var v = meankbn( x.length, x, 1 );
3030
console.log( v );
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)