Skip to content

Commit eef1052

Browse files
committed
fix: lint error
1 parent 4995b43 commit eef1052

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

lib/node_modules/@stdlib/stats/nanminabs/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ var y = nanminabs( x );
4343
// returns <ndarray>
4444

4545
var v = y.get();
46-
// returns -1.0
46+
// returns 1.0
4747
```
4848

4949
The function has the following parameters:
@@ -76,23 +76,23 @@ var y = nanminabs( x, {
7676
// returns <ndarray>
7777

7878
v = ndarray2array( y );
79-
// returns [ -1.0, 2.0 ]
79+
// returns [ 1.0, 2.0 ]
8080

8181
y = nanminabs( x, {
8282
'dims': [ 1 ]
8383
});
8484
// returns <ndarray>
8585

8686
v = ndarray2array( y );
87-
// returns [ -1.0, 4.0 ]
87+
// returns [ 1.0, 4.0 ]
8888

8989
y = nanminabs( x, {
9090
'dims': [ 0, 1 ]
9191
});
9292
// returns <ndarray>
9393

9494
v = y.get();
95-
// returns -1.0
95+
// returns 1.0
9696
```
9797

9898
By default, the function excludes reduced dimensions from the output [ndarray][@stdlib/ndarray/ctor]. To include the reduced dimensions as singleton dimensions, set the `keepdims` option to `true`.
@@ -116,7 +116,7 @@ var y = nanminabs( x, {
116116
// returns <ndarray>
117117

118118
v = ndarray2array( y );
119-
// returns [ [ -1.0, 2.0 ] ]
119+
// returns [ [ 1.0, 2.0 ] ]
120120

121121
y = nanminabs( x, {
122122
'dims': [ 1 ],
@@ -125,7 +125,7 @@ y = nanminabs( x, {
125125
// returns <ndarray>
126126

127127
v = ndarray2array( y );
128-
// returns [ [ -1.0 ], [ 4.0 ] ]
128+
// returns [ [ 1.0 ], [ 4.0 ] ]
129129

130130
y = nanminabs( x, {
131131
'dims': [ 0, 1 ],
@@ -134,7 +134,7 @@ y = nanminabs( x, {
134134
// returns <ndarray>
135135

136136
v = ndarray2array( y );
137-
// returns [ [ -1.0 ] ]
137+
// returns [ [ 1.0 ] ]
138138
```
139139

140140
By default, the function returns an [ndarray][@stdlib/ndarray/ctor] having a [data type][@stdlib/ndarray/dtypes] determined by the function's output data type [policy][@stdlib/ndarray/output-dtype-policies]. To override the default behavior, set the `dtype` option.
@@ -171,7 +171,7 @@ var out = nanminabs.assign( x, y );
171171
// returns <ndarray>
172172

173173
var v = out.get();
174-
// returns -1.0
174+
// returns 1.0
175175

176176
var bool = ( out === y );
177177
// returns true

lib/node_modules/@stdlib/stats/nanminabs/docs/repl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
{{alias}}( x[, options] )
3-
Computes the minimum absolute value along one or more ndarray dimensions,
3+
Computes the minimum absolute value along one or more ndarray dimensions,
44
ignoring `NaN` values.
55

66
Parameters

lib/node_modules/@stdlib/stats/nanminabs/docs/types/index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ interface Unary {
7878
* // returns <ndarray>
7979
*
8080
* var v = y.get();
81-
* // returns -1.0
81+
* // returns 1.0
8282
*/
8383
<T = unknown, U = unknown>( x: InputArray<T>, options?: Options ): OutputArray<U>; // NOTE: we lose type specificity here, but retaining specificity would likely be difficult and/or tedious to completely enumerate, as the output ndarray data type is dependent on how `x` interacts with output data type policy and whether that policy has been overridden by `options.dtype`.
8484

@@ -101,7 +101,7 @@ interface Unary {
101101
* // returns <ndarray>
102102
*
103103
* var v = out.get();
104-
* // returns -1.0
104+
* // returns 1.0
105105
*
106106
* var bool = ( out === y );
107107
* // returns true
@@ -125,7 +125,7 @@ interface Unary {
125125
* // returns <ndarray>
126126
*
127127
* var v = y.get();
128-
* // returns -1.0
128+
* // returns 1.0
129129
*
130130
* @example
131131
* var array = require( '@stdlib/ndarray/array' );
@@ -138,7 +138,7 @@ interface Unary {
138138
* // returns <ndarray>
139139
*
140140
* var v = out.get();
141-
* // returns -1.0
141+
* // returns 1.0
142142
*
143143
* var bool = ( out === y );
144144
* // returns true

0 commit comments

Comments
 (0)