Skip to content

Commit 6ae1c10

Browse files
committed
docs: rename parameter
1 parent 7eb1266 commit 6ae1c10

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

lib/node_modules/@stdlib/blas/ext/base/dfill/lib/ndarray.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ var M = 8;
3232
* @param {number} alpha - scalar
3333
* @param {Float64Array} x - input array
3434
* @param {integer} strideX - index increment
35-
* @param {NonNegativeInteger} offset - starting index
35+
* @param {NonNegativeInteger} offsetX - starting index
3636
* @returns {Float64Array} input array
3737
*
3838
* @example
@@ -43,15 +43,15 @@ var M = 8;
4343
* dfill( 3, 5.0, x, 1, x.length-3 );
4444
* // x => <Float64Array>[ 1.0, -2.0, 3.0, 5.0, 5.0, 5.0 ]
4545
*/
46-
function dfill( N, alpha, x, strideX, offset ) {
46+
function dfill( N, alpha, x, strideX, offsetX ) {
4747
var ix;
4848
var m;
4949
var i;
5050

5151
if ( N <= 0 ) {
5252
return x;
5353
}
54-
ix = offset;
54+
ix = offsetX;
5555

5656
// Use loop unrolling if the stride is equal to `1`...
5757
if ( strideX === 1 ) {

lib/node_modules/@stdlib/blas/ext/base/dfill/lib/ndarray.native.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ var addon = require( './../src/addon.node' );
3232
* @param {number} alpha - scalar
3333
* @param {Float64Array} x - input array
3434
* @param {integer} strideX - index increment
35-
* @param {NonNegativeInteger} offset - starting index
35+
* @param {NonNegativeInteger} offsetX - starting index
3636
* @returns {Float64Array} input array
3737
*
3838
* @example
@@ -43,8 +43,8 @@ var addon = require( './../src/addon.node' );
4343
* dfill( 3, 5.0, x, 1, x.length-3 );
4444
* // x => <Float64Array>[ 1.0, -2.0, 3.0, 5.0, 5.0, 5.0 ]
4545
*/
46-
function dfill( N, alpha, x, strideX, offset ) {
47-
addon.ndarray( N, alpha, x, strideX, offset );
46+
function dfill( N, alpha, x, strideX, offsetX ) {
47+
addon.ndarray( N, alpha, x, strideX, offsetX );
4848
return x;
4949
}
5050

0 commit comments

Comments
 (0)