Skip to content

Commit ec2e651

Browse files
committed
chore: fix typos, grammar, and minor issues across multiple packages
- Fix missing `:of` method name in benchmark descriptions for `fixed-endian-factory` and `fixed-endian-float32` - Fix grammar in type test comments for `ndarray/base/copy` and `ndarray/base/empty-like` - Fix verb form in module-level JSDoc for `drrss` and `drsskbn` TypeScript declarations ("Compute" -> "Computes") - Interleave benchmark1/benchmark2 in `dcircshift` C benchmark to match sibling package conventions - Add missing `GENERIC` to unsupported dtype test list in `ndarray/base/nans` --- 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: 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 8427c6a commit ec2e651

8 files changed

Lines changed: 8 additions & 11 deletions

File tree

lib/node_modules/@stdlib/array/fixed-endian-factory/benchmark/benchmark.of.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ bench( format( '%s:of', pkg ), function benchmark( b ) {
5252
b.end();
5353
});
5454

55-
bench( format( '%s:len=5', pkg ), function benchmark( b ) {
55+
bench( format( '%s:of:len=5', pkg ), function benchmark( b ) {
5656
var buf;
5757
var arr;
5858
var i;

lib/node_modules/@stdlib/array/fixed-endian-float32/benchmark/benchmark.of.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ bench( format( '%s:of', pkg ), function benchmark( b ) {
4747
b.end();
4848
});
4949

50-
bench( format( '%s:len=5', pkg ), function benchmark( b ) {
50+
bench( format( '%s:of:len=5', pkg ), function benchmark( b ) {
5151
var buf;
5252
var arr;
5353
var i;

lib/node_modules/@stdlib/blas/ext/base/dcircshift/benchmark/c/benchmark.length.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,6 @@ int main( void ) {
183183
print_results( iter, elapsed );
184184
printf( "ok %d benchmark finished\n", count );
185185
}
186-
}
187-
for ( i = MIN; i <= MAX; i++ ) {
188-
len = pow( 10, i );
189-
iter = ITERATIONS / pow( 10, i-1 );
190186
for ( j = 0; j < REPEATS; j++ ) {
191187
count += 1;
192188
printf( "# c::%s:ndarray:len=%d\n", NAME, len );

lib/node_modules/@stdlib/blas/ext/base/drrss/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ interface Routine {
6868
}
6969

7070
/**
71-
* Compute the square root of the residual sum of squares of two double-precision floating-point strided arrays.
71+
* Computes the square root of the residual sum of squares of two double-precision floating-point strided arrays.
7272
*
7373
* @param N - number of indexed elements
7474
* @param x - first input array

lib/node_modules/@stdlib/blas/ext/base/drsskbn/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ interface Routine {
6868
}
6969

7070
/**
71-
* Compute the residual sum of squares of two double-precision floating-point strided arrays using an improved Kahan–Babuška algorithm.
71+
* Computes the residual sum of squares of two double-precision floating-point strided arrays using an improved Kahan–Babuška algorithm.
7272
*
7373
* @param N - number of indexed elements
7474
* @param x - first input array

lib/node_modules/@stdlib/ndarray/base/copy/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import copy = require( './index' );
4343
copy( zeros( 'generic', sh, ord ) ); // $ExpectType genericndarray<number>
4444
}
4545

46-
// The compiler throws an error if the function is provided a first argument is not an ndarray...
46+
// The compiler throws an error if the function is provided a first argument which is not an ndarray...
4747
{
4848
copy( '10' ); // $ExpectError
4949
copy( 10 ); // $ExpectError

lib/node_modules/@stdlib/ndarray/base/empty-like/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import emptyLike = require( './index' );
4343
emptyLike( zeros( 'generic', sh, ord ) ); // $ExpectType typedndarray<number>
4444
}
4545

46-
// The compiler throws an error if the function is provided a first argument is not an ndarray which has a recognized/supported data type...
46+
// The compiler throws an error if the function is provided a first argument which is not an ndarray having a recognized/supported data type...
4747
{
4848
emptyLike( '10' ); // $ExpectError
4949
emptyLike( 10 ); // $ExpectError

lib/node_modules/@stdlib/ndarray/base/nans/test/test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ tape( 'the function throws an error if provided an unrecognized/unsupported data
9292
'Float64',
9393
'Float32',
9494
'FLOAT64',
95-
'FLOAT32'
95+
'FLOAT32',
96+
'GENERIC'
9697
];
9798

9899
for ( i = 0; i < values.length; i++ ) {

0 commit comments

Comments
 (0)