Skip to content

Commit ee4e852

Browse files
authored
docs: fix comments and returns description
PR-URL: #10015 Reviewed-by: Athan Reines <[email protected]>
1 parent 66c95d7 commit ee4e852

File tree

2 files changed

+3
-3
lines changed
  • lib/node_modules/@stdlib
    • complex/float64/base/add3/docs/types
    • stats/strided/nanrange/lib

2 files changed

+3
-3
lines changed

lib/node_modules/@stdlib/complex/float64/base/add3/docs/types/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ import add3 = require( './index' );
185185
add3.assign( 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, ( x: number ): number => x, 1, 0 ); // $ExpectError
186186
}
187187

188-
// The compiler throws an error if the `assign` method is provided a sixth argument which is not a number...
188+
// The compiler throws an error if the `assign` method is provided an eighth argument which is not a number...
189189
{
190190
const out = new Float64Array( 2 );
191191

@@ -199,7 +199,7 @@ import add3 = require( './index' );
199199
add3.assign( 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, out, ( x: number ): number => x, 0 ); // $ExpectError
200200
}
201201

202-
// The compiler throws an error if the `assign` method is provided a seventh argument which is not a number...
202+
// The compiler throws an error if the `assign` method is provided a ninth argument which is not a number...
203203
{
204204
const out = new Float64Array( 2 );
205205

lib/node_modules/@stdlib/stats/strided/nanrange/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ var ndarray = require( './ndarray.js' );
3232
* @param {PositiveInteger} N - number of indexed elements
3333
* @param {NumericArray} x - input array
3434
* @param {integer} strideX - stride length
35-
* @returns {number} variance
35+
* @returns {number} range
3636
*
3737
* @example
3838
* var x = [ 1.0, -2.0, NaN, 2.0 ];

0 commit comments

Comments
 (0)