Skip to content

Commit bc155d6

Browse files
committed
refactor: use array instead of collection
--- 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: passed - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: passed - 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: passed - task: lint_license_headers status: passed ---
1 parent c765d85 commit bc155d6

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

lib/node_modules/@stdlib/fft/base/fftpack/decompose/docs/repl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
initial: Array<number>
1818
Array of initial trial divisors.
1919

20-
out: Collection<number>
20+
out: Array<number>
2121
Output array for storing factorization results.
2222

2323
stride: number

lib/node_modules/@stdlib/fft/base/fftpack/decompose/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ import decompose = require( './index' );
5757
decompose( 12, ( x: number ): number => x, out, 1, 0 ); // $ExpectError
5858
}
5959

60-
// The compiler throws an error if the function is provided an output array which is not an array-like object...
60+
// The compiler throws an error if the function is provided an output array which is not an array...
6161
{
6262
const initial = [ 3, 4, 2, 5 ];
6363

lib/node_modules/@stdlib/fft/base/fftpack/decompose/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ var isCollection = require( '@stdlib/assert/is-collection' );
8585
* @private
8686
* @param {NonNegativeInteger} N - length of the sequence
8787
* @param {NonNegativeIntegerArray} initial - array of initial trial divisors
88-
* @param {Collection} out - output array for storing factorization results
88+
* @param {Array<number>} out - output array for storing factorization results
8989
* @param {integer} stride - stride length for `out`
9090
* @param {NonNegativeInteger} offset - starting index for `out`
9191
* @returns {NonNegativeInteger} number of factors into which `N` was decomposed

lib/node_modules/@stdlib/fft/base/fftpack/decompose/test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ tape( 'if provided an array of initial trial divisors which is not an array of n
104104
t.end();
105105
});
106106

107-
tape( 'if provided an output array which is not a collection, the function returns NaN', function test( t ) {
107+
tape( 'if provided an output array which is not an array, the function returns NaN', function test( t ) {
108108
var result;
109109
var values;
110110
var i;

0 commit comments

Comments
 (0)