Skip to content

Commit e6a8b55

Browse files
committed
refactor: relax dtype type
--- 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: 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 d2f83a4 commit e6a8b55

File tree

2 files changed

+5
-5
lines changed
  • lib/node_modules/@stdlib/ndarray/base/ndarraylike2object

2 files changed

+5
-5
lines changed

lib/node_modules/@stdlib/ndarray/base/ndarraylike2object/docs/repl.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
- offset: index offset.
1515
- order: order.
1616
- accessorProtocol: boolean indicating whether the data buffer uses
17-
accessors for getting and setting elements.
17+
accessors for getting and setting elements.
1818
- accessors: a two-element array whose first element is an accessor for
19-
retrieving an ndarray element and whose second element is an accessor for
20-
setting an ndarray element.
19+
retrieving an ndarray element and whose second element is an accessor for
20+
setting an ndarray element.
2121

2222
The getter accessor accepts two arguments:
2323

@@ -43,7 +43,7 @@
4343
out.ref: ndarray
4444
Reference to input array.
4545

46-
out.dtype: string
46+
out.dtype: any
4747
Underlying data type.
4848

4949
out.data: ArrayLikeObject

lib/node_modules/@stdlib/ndarray/base/ndarraylike2object/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ var getData = require( '@stdlib/ndarray/base/data-buffer' );
5757
* - **accessors**: a two-element array whose first element is an accessor for retrieving an ndarray element and whose second element is an accessor for setting an ndarray element.
5858
*
5959
* @param {ndarrayLike} x - ndarray-like object
60-
* @param {string} x.dtype - data type
60+
* @param {*} x.dtype - data type
6161
* @param {Collection} x.data - data buffer
6262
* @param {NonNegativeIntegerArray} x.shape - dimensions
6363
* @param {IntegerArray} x.strides - stride lengths

0 commit comments

Comments
 (0)