Skip to content

Commit 8b85764

Browse files
committed
chore: 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: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: passed - 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: passed - task: lint_license_headers status: passed ---
1 parent 2b5e5c6 commit 8b85764

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

lib/node_modules/@stdlib/ndarray/base/dtype-char/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import dtypeChar = require( './index' );
2626
dtypeChar(); // $ExpectType Table
2727
}
2828

29-
// The function returns string or null if provided a data type string...
29+
// The function returns a string or null if provided a data type string...
3030
{
3131
dtypeChar( 'float64' ); // $ExpectType string | null
3232
dtypeChar( 'generic' ); // $ExpectType string | null

lib/node_modules/@stdlib/ndarray/base/dtype-char/examples/index.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
'use strict';
2020

21+
var logEachMap = require( '@stdlib/console/log-each-map' );
2122
var dtypeChar = require( './../lib' );
2223

2324
var dtypes = [
@@ -35,7 +36,4 @@ var dtypes = [
3536
'foobar'
3637
];
3738

38-
var i;
39-
for ( i = 0; i < dtypes.length; i++ ) {
40-
console.log( '%s => %s', dtypes[ i ], dtypeChar( dtypes[ i ] ) );
41-
}
39+
logEachMap( '%s => %s', dtypes, dtypeChar );

lib/node_modules/@stdlib/ndarray/base/dtype-char/include/stdlib/ndarray/base/dtype_char.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ extern "C" {
3030
#endif
3131

3232
/**
33-
* Enumeration of the single letter character abbreviation for strided array data types.
33+
* Enumeration of the single letter character abbreviation for ndarray data types.
3434
*/
3535
enum STDLIB_NDARRAY_DTYPE_CHAR {
3636
STDLIB_NDARRAY_BOOL_CHAR = 'x',

0 commit comments

Comments
 (0)