Skip to content

Commit 404b4d6

Browse files
committed
fix: remove extra dtype array
--- 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: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 45329d5 commit 404b4d6

File tree

1 file changed

+2
-3
lines changed
  • lib/node_modules/@stdlib/blas/ext/sorthp/lib

1 file changed

+2
-3
lines changed

lib/node_modules/@stdlib/blas/ext/sorthp/lib/base.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ var factory = require( '@stdlib/ndarray/base/nullary-strided1d-dispatch-factory'
2929

3030
// VARIABLES //
3131

32-
var idtypes0 = dtypes( 'real_and_generic' ); // input ndarray
33-
var idtypes1 = dtypes( 'real_and_generic' ); // sortOrder ndarray
32+
var idtypes0 = dtypes( 'real_and_generic' ); // sortOrder ndarray
3433
var odtypes = dtypes( 'real_and_generic' );
3534
var table = {
3635
'types': [
@@ -101,7 +100,7 @@ var options = {
101100
* var arr = ndarray2array( out );
102101
* // returns [ [ [ -5.0, -3.0 ] ], [ [ 1.0, 2.0 ] ], [ [ 4.0, 6.0 ] ] ]
103102
*/
104-
var sorthp = factory( table, [ idtypes0, idtypes1 ], odtypes, options );
103+
var sorthp = factory( table, [ idtypes0 ], odtypes, options );
105104

106105

107106
// EXPORTS //

0 commit comments

Comments
 (0)