Skip to content

Commit db2e6a4

Browse files
committed
chore: suggested changes
1 parent 97bbc26 commit db2e6a4

4 files changed

Lines changed: 14 additions & 14 deletions

File tree

lib/node_modules/@stdlib/stats/strided/nanmskmaxabs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ var v = nanmskmaxabs.ndarray( 5, x, 2, 1, mask, 2, 1 );
120120
## Notes
121121

122122
- If `N <= 0`, both functions return `NaN`.
123-
- Depending on the environment, the typed versions ([`dnanmskmaxabs`][@stdlib/stats/strided/dnanmskmaxabs], [`snanmskmaxabs`][@stdlib/stats/strided/snanmskmaxabs] etc.) are likely to be significantly more performant.
123+
- Depending on the environment, the typed versions ([`dnanmskmaxabs`][@stdlib/stats/strided/dnanmskmaxabs], [`snanmskmaxabs`][@stdlib/stats/strided/snanmskmaxabs], etc.) are likely to be significantly more performant.
124124
- Both functions support array-like objects having getter and setter accessors for array element access (e.g., [`@stdlib/array/base/accessor`][@stdlib/array/base/accessor]).
125125

126126
</section>

lib/node_modules/@stdlib/stats/strided/nanmskmaxabs/docs/types/test.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -193,15 +193,15 @@ import nanmskmaxabs = require( './index' );
193193
{
194194
const x = new Float64Array( 10 );
195195

196-
nanmskmaxabs.ndarray( x.length, 1, 0, 10, 1, 0 ); // $ExpectError
197-
nanmskmaxabs.ndarray( x.length, 1, 0, '10', 1, 0 ); // $ExpectError
198-
nanmskmaxabs.ndarray( x.length, 1, 0, true, 1, 0 ); // $ExpectError
199-
nanmskmaxabs.ndarray( x.length, 1, 0, false, 1, 0 ); // $ExpectError
200-
nanmskmaxabs.ndarray( x.length, 1, 0, null, 1, 0 ); // $ExpectError
201-
nanmskmaxabs.ndarray( x.length, 1, 0, undefined, 1, 0 ); // $ExpectError
202-
nanmskmaxabs.ndarray( x.length, 1, 0, [ '1' ], 1, 0 ); // $ExpectError
203-
nanmskmaxabs.ndarray( x.length, 1, 0, {}, 1, 0 ); // $ExpectError
204-
nanmskmaxabs.ndarray( x.length, 1, 0, ( x: number ): number => x, 1, 0 ); // $ExpectError
196+
nanmskmaxabs.ndarray( x.length, x, 1, 0, 10, 1, 0 ); // $ExpectError
197+
nanmskmaxabs.ndarray( x.length, x, 1, 0, '10', 1, 0 ); // $ExpectError
198+
nanmskmaxabs.ndarray( x.length, x, 1, 0, true, 1, 0 ); // $ExpectError
199+
nanmskmaxabs.ndarray( x.length, x, 1, 0, false, 1, 0 ); // $ExpectError
200+
nanmskmaxabs.ndarray( x.length, x, 1, 0, null, 1, 0 ); // $ExpectError
201+
nanmskmaxabs.ndarray( x.length, x, 1, 0, undefined, 1, 0 ); // $ExpectError
202+
nanmskmaxabs.ndarray( x.length, x, 1, 0, [ '1' ], 1, 0 ); // $ExpectError
203+
nanmskmaxabs.ndarray( x.length, x, 1, 0, {}, 1, 0 ); // $ExpectError
204+
nanmskmaxabs.ndarray( x.length, x, 1, 0, ( x: number ): number => x, 1, 0 ); // $ExpectError
205205
}
206206

207207
// The compiler throws an error if the `ndarray` method is provided a sixth argument which is not a number...

lib/node_modules/@stdlib/stats/strided/nanmskmaxabs/test/test.main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ tape( 'the function has an arity of 5', function test( t ) {
4242
t.end();
4343
});
4444

45-
tape( 'the function calculates the maximum value of a strided array according to a mask, ignoring NaN values', function test( t ) {
45+
tape( 'the function calculates the maximum absolute value of a strided array according to a mask, ignoring NaN values', function test( t ) {
4646
var mask;
4747
var x;
4848
var v;
@@ -100,7 +100,7 @@ tape( 'the function calculates the maximum value of a strided array according to
100100
t.end();
101101
});
102102

103-
tape( 'the function calculates the maximum value of a strided array according to a mask, ignoring NaN values (accessors)', function test( t ) {
103+
tape( 'the function calculates the maximum absolute value of a strided array according to a mask, ignoring NaN values (accessors)', function test( t ) {
104104
var mask;
105105
var x;
106106
var v;

lib/node_modules/@stdlib/stats/strided/nanmskmaxabs/test/test.ndarray.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ tape( 'the function has an arity of 7', function test( t ) {
4040
t.end();
4141
});
4242

43-
tape( 'the function calculates the maximum value of a strided array according to a mask, ignoring NaN values', function test( t ) {
43+
tape( 'the function calculates the maximum absolute value of a strided array according to a mask, ignoring NaN values', function test( t ) {
4444
var mask;
4545
var x;
4646
var v;
@@ -98,7 +98,7 @@ tape( 'the function calculates the maximum value of a strided array according to
9898
t.end();
9999
});
100100

101-
tape( 'the function calculates the maximum value of a strided array according to a mask, ignoring NaN values (accessors)', function test( t ) {
101+
tape( 'the function calculates the maximum absolute value of a strided array according to a mask, ignoring NaN values (accessors)', function test( t ) {
102102
var mask;
103103
var x;
104104
var v;

0 commit comments

Comments
 (0)