Skip to content

Commit 4eb9d2a

Browse files
committed
chore: minor clean-up
--- 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: na - task: lint_javascript_benchmarks status: passed - 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 7a9032d commit 4eb9d2a

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

lib/node_modules/@stdlib/blas/ext/linspace/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function createBenchmark( len ) {
5858

5959
b.tic();
6060
for ( i = 0; i < b.iterations; i++ ) {
61-
o = linspace( [ len ], i, i+100, true );
61+
o = linspace( [ len ], i, i+100, true, options );
6262
if ( typeof o !== 'object' ) {
6363
b.fail( 'should return an ndarray' );
6464
}

lib/node_modules/@stdlib/blas/ext/linspace/docs/repl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@
170170
Parameters
171171
----------
172172
out: ndarray
173-
Output array. Must have a numeric or "generic" data type.
173+
Output array. Must have a floating-point or "generic" data type.
174174

175175
start: ndarray|number|Complex
176176
Start of interval. May be either a number, a complex number, or an

lib/node_modules/@stdlib/blas/ext/linspace/lib/assign.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ var base = require( './base.js' );
5555
* @param {Options} [options] - function options
5656
* @param {IntegerArray} [options.dims=[-1]] - list of dimensions over which to perform operation
5757
* @throws {TypeError} first argument must be an ndarray-like object having at least one dimension
58-
* @throws {TypeError} second argument must be an ndarray-like object
59-
* @throws {TypeError} third argument must be an ndarray-like object
60-
* @throws {TypeError} fourth argument must be an ndarray-like object
58+
* @throws {TypeError} second argument must be either a number, complex number, or an ndarray-like object
59+
* @throws {TypeError} third argument must be either a number, complex number, or an ndarray-like object
60+
* @throws {TypeError} fourth argument must be either a boolean or an ndarray-like object
6161
* @throws {TypeError} options argument must be an object
6262
* @throws {RangeError} dimension indices must not exceed input ndarray bounds
6363
* @throws {RangeError} number of dimension indices must not exceed the number of input ndarray dimensions

lib/node_modules/@stdlib/blas/ext/linspace/lib/main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ var base = require( './base.js' );
6363
* @param {string} [options.mode="throw"] - specifies how to handle indices which exceed ndarray dimensions
6464
* @param {StringArray} [options.submode=["throw"]] - specifies how to handle subscripts which exceed ndarray dimensions on a per dimension basis
6565
* @throws {TypeError} first argument must be either a nonnegative integer or an array of nonnegative integers
66-
* @throws {TypeError} second argument must be an ndarray-like object
67-
* @throws {TypeError} third argument must be an ndarray-like object
68-
* @throws {TypeError} fourth argument must be an ndarray-like object
66+
* @throws {TypeError} second argument must be either a number, complex number, or an ndarray-like object
67+
* @throws {TypeError} third argument must be either a number, complex number, or an ndarray-like object
68+
* @throws {TypeError} fourth argument must be either a boolean or an ndarray-like object
6969
* @throws {TypeError} options argument must be an object
7070
* @throws {RangeError} dimension indices must not exceed input ndarray bounds
7171
* @throws {RangeError} number of dimension indices must not exceed the number of input ndarray dimensions

0 commit comments

Comments
 (0)