Skip to content

Commit 3bf34ec

Browse files
authored
chore: fix typos, grammar, and minor issues across multiple packages
PR-URL: #11167 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 8427c6a commit 3bf34ec

File tree

8 files changed

+8
-11
lines changed

8 files changed

+8
-11
lines changed

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)