Skip to content

Commit f84c1a6

Browse files
committed
fix: remove unused parameter
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 2848c77 commit f84c1a6

18 files changed

+36
-54
lines changed

lib/node_modules/@stdlib/ndarray/base/unary-reduce-subarray-by/lib/10d_blocked.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ var wrap = require( './callback_wrapper.js' );
4646
* @param {NonNegativeIntegerArray} ldims - list of loop dimensions
4747
* @param {NonNegativeIntegerArray} cdims - list of "core" dimensions
4848
* @param {IntegerArray} strides - loop dimension strides for the input ndarray
49-
* @param {boolean} isRowMajor - boolean indicating if provided arrays are in row-major order
5049
* @param {Options} opts - reduction function options
5150
* @param {boolean} hasOpts - boolean indicating whether to pass an options argument to a reduction function
5251
* @param {Function} clbk - callback function
@@ -123,12 +122,12 @@ var wrap = require( './callback_wrapper.js' );
123122
* var slx = [ 12, 12, 12, 12, 12, 12, 12, 12, 12, 4 ];
124123
*
125124
* // Perform a reduction:
126-
* blockedunary10d( base, [ x, y ], views, ibuf, ldims, cdims, slx, true, null, false, clbk, {} );
125+
* blockedunary10d( base, [ x, y ], views, ibuf, ldims, cdims, slx, null, false, clbk, {} );
127126
*
128127
* var arr = ndarray2array( y.data, y.shape, y.strides, y.offset, y.order );
129128
* // returns [ [ [ [ [ [ [ [ [ [ true, false, true ] ] ] ] ] ] ] ] ] ]
130129
*/
131-
function blockedunary10d( fcn, arrays, views, ibuf, ldims, cdims, strides, isRowMajor, opts, hasOpts, clbk, thisArg ) {
130+
function blockedunary10d( fcn, arrays, views, ibuf, ldims, cdims, strides, opts, hasOpts, clbk, thisArg ) {
132131
var bsize;
133132
var ybuf;
134133
var idx;

lib/node_modules/@stdlib/ndarray/base/unary-reduce-subarray-by/lib/10d_blocked_accessors.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ var wrap = require( './callback_wrapper.js' );
4646
* @param {NonNegativeIntegerArray} ldims - list of loop dimensions
4747
* @param {NonNegativeIntegerArray} cdims - list of "core" dimensions
4848
* @param {IntegerArray} strides - loop dimension strides for the input ndarray
49-
* @param {boolean} isRowMajor - boolean indicating if provided arrays are in row-major order
5049
* @param {Options} opts - reduction function options
5150
* @param {boolean} hasOpts - boolean indicating whether to pass an options argument to a reduction function
5251
* @param {Function} clbk - callback function
@@ -127,12 +126,12 @@ var wrap = require( './callback_wrapper.js' );
127126
* var slx = [ 12, 12, 12, 12, 12, 12, 12, 12, 12, 4 ];
128127
*
129128
* // Perform a reduction:
130-
* blockedunary10d( base, [ x, y ], views, ibuf, ldims, cdims, slx, true, null, false, clbk, {} );
129+
* blockedunary10d( base, [ x, y ], views, ibuf, ldims, cdims, slx, null, false, clbk, {} );
131130
*
132131
* var arr = ndarray2array( y.data, y.shape, y.strides, y.offset, y.order );
133132
* // returns [ [ [ [ [ [ [ [ [ [ true, false, true ] ] ] ] ] ] ] ] ] ]
134133
*/
135-
function blockedunary10d( fcn, arrays, views, ibuf, ldims, cdims, strides, isRowMajor, opts, hasOpts, clbk, thisArg ) {
134+
function blockedunary10d( fcn, arrays, views, ibuf, ldims, cdims, strides, opts, hasOpts, clbk, thisArg ) {
136135
var bsize;
137136
var ybuf;
138137
var idx;

lib/node_modules/@stdlib/ndarray/base/unary-reduce-subarray-by/lib/2d_blocked.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ var wrap = require( './callback_wrapper.js' );
4646
* @param {NonNegativeIntegerArray} ldims - list of loop dimensions
4747
* @param {NonNegativeIntegerArray} cdims - list of "core" dimensions
4848
* @param {IntegerArray} strides - loop dimension strides for the input ndarray
49-
* @param {boolean} isRowMajor - boolean indicating if provided arrays are in row-major order
5049
* @param {Options} opts - reduction function options
5150
* @param {boolean} hasOpts - boolean indicating whether to pass an options argument to a reduction function
5251
* @param {Function} clbk - callback function
@@ -123,12 +122,12 @@ var wrap = require( './callback_wrapper.js' );
123122
* var slx = [ 12, 4 ];
124123
*
125124
* // Perform a reduction:
126-
* blockedunary2d( base, [ x, y ], views, ibuf, ldims, cdims, slx, true, null, false, clbk, {} );
125+
* blockedunary2d( base, [ x, y ], views, ibuf, ldims, cdims, slx, null, false, clbk, {} );
127126
*
128127
* var arr = ndarray2array( y.data, y.shape, y.strides, y.offset, y.order );
129128
* // returns [ [ true, false, true ] ]
130129
*/
131-
function blockedunary2d( fcn, arrays, views, ibuf, ldims, cdims, strides, isRowMajor, opts, hasOpts, clbk, thisArg ) {
130+
function blockedunary2d( fcn, arrays, views, ibuf, ldims, cdims, strides, opts, hasOpts, clbk, thisArg ) {
132131
var bsize;
133132
var ybuf;
134133
var idx;

lib/node_modules/@stdlib/ndarray/base/unary-reduce-subarray-by/lib/2d_blocked_accessors.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ var wrap = require( './callback_wrapper.js' );
4646
* @param {NonNegativeIntegerArray} ldims - list of loop dimensions
4747
* @param {NonNegativeIntegerArray} cdims - list of "core" dimensions
4848
* @param {IntegerArray} strides - loop dimension strides for the input ndarray
49-
* @param {boolean} isRowMajor - boolean indicating if provided arrays are in row-major order
5049
* @param {Options} opts - reduction function options
5150
* @param {boolean} hasOpts - boolean indicating whether to pass an options argument to a reduction function
5251
* @param {Function} clbk - callback function
@@ -127,12 +126,12 @@ var wrap = require( './callback_wrapper.js' );
127126
* var slx = [ 12, 4 ];
128127
*
129128
* // Perform a reduction:
130-
* blockedunary2d( base, [ x, y ], views, ibuf, ldims, cdims, slx, true, null, false, clbk, {} );
129+
* blockedunary2d( base, [ x, y ], views, ibuf, ldims, cdims, slx, null, false, clbk, {} );
131130
*
132131
* var arr = ndarray2array( y.data, y.shape, y.strides, y.offset, y.order );
133132
* // returns [ [ true, false, true ] ]
134133
*/
135-
function blockedunary2d( fcn, arrays, views, ibuf, ldims, cdims, strides, isRowMajor, opts, hasOpts, clbk, thisArg ) {
134+
function blockedunary2d( fcn, arrays, views, ibuf, ldims, cdims, strides, opts, hasOpts, clbk, thisArg ) {
136135
var bsize;
137136
var ybuf;
138137
var idx;

lib/node_modules/@stdlib/ndarray/base/unary-reduce-subarray-by/lib/3d_blocked.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ var wrap = require( './callback_wrapper.js' );
4646
* @param {NonNegativeIntegerArray} ldims - list of loop dimensions
4747
* @param {NonNegativeIntegerArray} cdims - list of "core" dimensions
4848
* @param {IntegerArray} strides - loop dimension strides for the input ndarray
49-
* @param {boolean} isRowMajor - boolean indicating if provided arrays are in row-major order
5049
* @param {Options} opts - reduction function options
5150
* @param {boolean} hasOpts - boolean indicating whether to pass an options argument to a reduction function
5251
* @param {Function} clbk - callback function
@@ -123,12 +122,12 @@ var wrap = require( './callback_wrapper.js' );
123122
* var slx = [ 12, 12, 4 ];
124123
*
125124
* // Perform a reduction:
126-
* blockedunary3d( base, [ x, y ], views, ibuf, ldims, cdims, slx, true, null, false, clbk, {} );
125+
* blockedunary3d( base, [ x, y ], views, ibuf, ldims, cdims, slx, null, false, clbk, {} );
127126
*
128127
* var arr = ndarray2array( y.data, y.shape, y.strides, y.offset, y.order );
129128
* // returns [ [ [ true, false, true ] ] ]
130129
*/
131-
function blockedunary3d( fcn, arrays, views, ibuf, ldims, cdims, strides, isRowMajor, opts, hasOpts, clbk, thisArg ) {
130+
function blockedunary3d( fcn, arrays, views, ibuf, ldims, cdims, strides, opts, hasOpts, clbk, thisArg ) {
132131
var bsize;
133132
var ybuf;
134133
var idx;

lib/node_modules/@stdlib/ndarray/base/unary-reduce-subarray-by/lib/3d_blocked_accessors.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ var wrap = require( './callback_wrapper.js' );
4646
* @param {NonNegativeIntegerArray} ldims - list of loop dimensions
4747
* @param {NonNegativeIntegerArray} cdims - list of "core" dimensions
4848
* @param {IntegerArray} strides - loop dimension strides for the input ndarray
49-
* @param {boolean} isRowMajor - boolean indicating if provided arrays are in row-major order
5049
* @param {Options} opts - reduction function options
5150
* @param {boolean} hasOpts - boolean indicating whether to pass an options argument to a reduction function
5251
* @param {Function} clbk - callback function
@@ -127,12 +126,12 @@ var wrap = require( './callback_wrapper.js' );
127126
* var slx = [ 12, 12, 4 ];
128127
*
129128
* // Perform a reduction:
130-
* blockedunary3d( base, [ x, y ], views, ibuf, ldims, cdims, slx, true, null, false, clbk, {} );
129+
* blockedunary3d( base, [ x, y ], views, ibuf, ldims, cdims, slx, null, false, clbk, {} );
131130
*
132131
* var arr = ndarray2array( y.data, y.shape, y.strides, y.offset, y.order );
133132
* // returns [ [ [ true, false, true ] ] ]
134133
*/
135-
function blockedunary3d( fcn, arrays, views, ibuf, ldims, cdims, strides, isRowMajor, opts, hasOpts, clbk, thisArg ) {
134+
function blockedunary3d( fcn, arrays, views, ibuf, ldims, cdims, strides, opts, hasOpts, clbk, thisArg ) {
136135
var bsize;
137136
var ybuf;
138137
var idx;

lib/node_modules/@stdlib/ndarray/base/unary-reduce-subarray-by/lib/4d_blocked.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ var wrap = require( './callback_wrapper.js' );
4646
* @param {NonNegativeIntegerArray} ldims - list of loop dimensions
4747
* @param {NonNegativeIntegerArray} cdims - list of "core" dimensions
4848
* @param {IntegerArray} strides - loop dimension strides for the input ndarray
49-
* @param {boolean} isRowMajor - boolean indicating if provided arrays are in row-major order
5049
* @param {Options} opts - reduction function options
5150
* @param {boolean} hasOpts - boolean indicating whether to pass an options argument to a reduction function
5251
* @param {Function} clbk - callback function
@@ -123,12 +122,12 @@ var wrap = require( './callback_wrapper.js' );
123122
* var slx = [ 12, 12, 12, 4 ];
124123
*
125124
* // Perform a reduction:
126-
* blockedunary4d( base, [ x, y ], views, ibuf, ldims, cdims, slx, true, null, false, clbk, {} );
125+
* blockedunary4d( base, [ x, y ], views, ibuf, ldims, cdims, slx, null, false, clbk, {} );
127126
*
128127
* var arr = ndarray2array( y.data, y.shape, y.strides, y.offset, y.order );
129128
* // returns [ [ [ [ true, false, true ] ] ] ]
130129
*/
131-
function blockedunary4d( fcn, arrays, views, ibuf, ldims, cdims, strides, isRowMajor, opts, hasOpts, clbk, thisArg ) {
130+
function blockedunary4d( fcn, arrays, views, ibuf, ldims, cdims, strides, opts, hasOpts, clbk, thisArg ) {
132131
var bsize;
133132
var ybuf;
134133
var idx;

lib/node_modules/@stdlib/ndarray/base/unary-reduce-subarray-by/lib/4d_blocked_accessors.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ var wrap = require( './callback_wrapper.js' );
4646
* @param {NonNegativeIntegerArray} ldims - list of loop dimensions
4747
* @param {NonNegativeIntegerArray} cdims - list of "core" dimensions
4848
* @param {IntegerArray} strides - loop dimension strides for the input ndarray
49-
* @param {boolean} isRowMajor - boolean indicating if provided arrays are in row-major order
5049
* @param {Options} opts - reduction function options
5150
* @param {boolean} hasOpts - boolean indicating whether to pass an options argument to a reduction function
5251
* @param {Function} clbk - callback function
@@ -127,12 +126,12 @@ var wrap = require( './callback_wrapper.js' );
127126
* var slx = [ 12, 12, 12, 4 ];
128127
*
129128
* // Perform a reduction:
130-
* blockedunary4d( base, [ x, y ], views, ibuf, ldims, cdims, slx, true, null, false, clbk, {} );
129+
* blockedunary4d( base, [ x, y ], views, ibuf, ldims, cdims, slx, null, false, clbk, {} );
131130
*
132131
* var arr = ndarray2array( y.data, y.shape, y.strides, y.offset, y.order );
133132
* // returns [ [ [ [ true, false, true ] ] ] ]
134133
*/
135-
function blockedunary4d( fcn, arrays, views, ibuf, ldims, cdims, strides, isRowMajor, opts, hasOpts, clbk, thisArg ) {
134+
function blockedunary4d( fcn, arrays, views, ibuf, ldims, cdims, strides, opts, hasOpts, clbk, thisArg ) {
136135
var bsize;
137136
var ybuf;
138137
var idx;

lib/node_modules/@stdlib/ndarray/base/unary-reduce-subarray-by/lib/5d_blocked.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ var wrap = require( './callback_wrapper.js' );
4646
* @param {NonNegativeIntegerArray} ldims - list of loop dimensions
4747
* @param {NonNegativeIntegerArray} cdims - list of "core" dimensions
4848
* @param {IntegerArray} strides - loop dimension strides for the input ndarray
49-
* @param {boolean} isRowMajor - boolean indicating if provided arrays are in row-major order
5049
* @param {Options} opts - reduction function options
5150
* @param {boolean} hasOpts - boolean indicating whether to pass an options argument to a reduction function
5251
* @param {Function} clbk - callback function
@@ -123,12 +122,12 @@ var wrap = require( './callback_wrapper.js' );
123122
* var slx = [ 12, 12, 12, 12, 4 ];
124123
*
125124
* // Perform a reduction:
126-
* blockedunary5d( base, [ x, y ], views, ibuf, ldims, cdims, slx, true, null, false, clbk, {} );
125+
* blockedunary5d( base, [ x, y ], views, ibuf, ldims, cdims, slx, null, false, clbk, {} );
127126
*
128127
* var arr = ndarray2array( y.data, y.shape, y.strides, y.offset, y.order );
129128
* // returns [ [ [ [ [ true, false, true ] ] ] ] ]
130129
*/
131-
function blockedunary5d( fcn, arrays, views, ibuf, ldims, cdims, strides, isRowMajor, opts, hasOpts, clbk, thisArg ) {
130+
function blockedunary5d( fcn, arrays, views, ibuf, ldims, cdims, strides, opts, hasOpts, clbk, thisArg ) {
132131
var bsize;
133132
var ybuf;
134133
var idx;

lib/node_modules/@stdlib/ndarray/base/unary-reduce-subarray-by/lib/5d_blocked_accessors.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ var wrap = require( './callback_wrapper.js' );
4646
* @param {NonNegativeIntegerArray} ldims - list of loop dimensions
4747
* @param {NonNegativeIntegerArray} cdims - list of "core" dimensions
4848
* @param {IntegerArray} strides - loop dimension strides for the input ndarray
49-
* @param {boolean} isRowMajor - boolean indicating if provided arrays are in row-major order
5049
* @param {Options} opts - reduction function options
5150
* @param {boolean} hasOpts - boolean indicating whether to pass an options argument to a reduction function
5251
* @param {Function} clbk - callback function
@@ -127,12 +126,12 @@ var wrap = require( './callback_wrapper.js' );
127126
* var slx = [ 12, 12, 12, 12, 4 ];
128127
*
129128
* // Perform a reduction:
130-
* blockedunary5d( base, [ x, y ], views, ibuf, ldims, cdims, slx, true, null, false, clbk, {} );
129+
* blockedunary5d( base, [ x, y ], views, ibuf, ldims, cdims, slx, null, false, clbk, {} );
131130
*
132131
* var arr = ndarray2array( y.data, y.shape, y.strides, y.offset, y.order );
133132
* // returns [ [ [ [ [ true, false, true ] ] ] ] ]
134133
*/
135-
function blockedunary5d( fcn, arrays, views, ibuf, ldims, cdims, strides, isRowMajor, opts, hasOpts, clbk, thisArg ) {
134+
function blockedunary5d( fcn, arrays, views, ibuf, ldims, cdims, strides, opts, hasOpts, clbk, thisArg ) {
136135
var bsize;
137136
var ybuf;
138137
var idx;

0 commit comments

Comments
 (0)