Skip to content

Commit 8bf8285

Browse files
committed
chore: minor clean-up
1 parent 8785e54 commit 8bf8285

File tree

36 files changed

+47
-77
lines changed

36 files changed

+47
-77
lines changed

lib/node_modules/@stdlib/blas/base/dznrm2/src/dznrm2_cblas.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ double API_SUFFIX(c_dznrm2)( const CBLAS_INT N, const void *ZX, const CBLAS_INT
4141
* @param strideX ZX stride length
4242
* @param offsetX starting index for ZX
4343
*/
44-
double API_SUFFIX(c_dznrm2_ndarray)( const CBLAS_INT N, const void *ZX, const CBLAS_INT strideX , const CBLAS_INT offsetX ) {
44+
double API_SUFFIX(c_dznrm2_ndarray)( const CBLAS_INT N, const void *ZX, const CBLAS_INT strideX, const CBLAS_INT offsetX ) {
4545
stdlib_complex128_t *zx = (stdlib_complex128_t *)ZX;
4646
zx += stdlib_strided_min_view_buffer_index( N, strideX, offsetX );
4747
return API_SUFFIX(cblas_dznrm2)( N, (void *)zx, strideX );

lib/node_modules/@stdlib/blas/ext/base/ssorthp/src/addon.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ static napi_value addon( napi_env env, napi_callback_info info ) {
3838
STDLIB_NAPI_ARGV_FLOAT( env, order, argv, 1 );
3939
STDLIB_NAPI_ARGV_INT64( env, stride, argv, 3 );
4040
STDLIB_NAPI_ARGV_STRIDED_FLOAT32ARRAY( env, X, N, stride, argv, 2 );
41-
c_ssorthp( N, order, X , stride );
41+
c_ssorthp( N, order, X, stride );
4242
return NULL;
4343
}
4444

lib/node_modules/@stdlib/math/base/assert/is-composite/examples/c/example.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include <stdbool.h>
2222

2323
int main( void ) {
24-
const double x[] = { 0.0, 0.0/0.0, 1.0, -1.0 , 4.0 };
24+
const double x[] = { 0.0, 0.0/0.0, 1.0, -1.0, 4.0 };
2525

2626
bool r;
2727
int i;

lib/node_modules/@stdlib/math/base/special/ellipk/src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ double stdlib_base_ellipk( const double m ) {
358358
return STDLIB_CONSTANT_FLOAT64_PINF;
359359
}
360360
if ( x > 1.0 ) {
361-
return 0.0 / 0.0; //NaN
361+
return 0.0 / 0.0; // NaN
362362
}
363363
if ( x < 0.1 ) {
364364
t = poly_p1( x - 0.05 );
@@ -384,7 +384,7 @@ double stdlib_base_ellipk( const double m ) {
384384
td = 1.0 - x;
385385
qd = poly_p11( td );
386386
kdm = poly_p12( td - 0.05 );
387-
t = -stdlib_base_ln( qd ) * ( kdm * ONE_DIV_PI );
387+
t = -stdlib_base_ln( qd ) * ( kdm * ONE_DIV_PI );
388388
}
389389
if ( FLG == 1 ) {
390390
// Complete the transformation mentioned above for m < 0:

lib/node_modules/@stdlib/math/base/special/negafibonacci/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ static const double negafibonacci_value[ 79 ] = {
117117
double stdlib_base_negafibonacci( const int32_t n ) {
118118
int32_t an;
119119
if ( n > 0 ) {
120-
return 0.0 / 0.0; //NaN
120+
return 0.0 / 0.0; // NaN
121121
}
122122
an = stdlib_base_abs( n );
123123
if ( an > STDLIB_CONSTANT_FLOAT64_MAX_SAFE_NTH_FIBONACCI ) {

lib/node_modules/@stdlib/math/base/special/negalucasf/docs/repl.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11

22
{{alias}}( n )
3-
Computes the nth negaLucas number in
4-
single-precision floating-point format.
3+
Computes the nth negaLucas number in single-precision floating-point format.
54

65
The negaLucas numbers follow the recurrence relation
76

lib/node_modules/@stdlib/math/base/special/nonfibonacci/examples/c/example.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ int main( void ) {
2323
int i;
2424
for ( i = 1; i < 12; i++ ) {
2525
double result = stdlib_base_nonfibonacci( i );
26-
printf( "x: %i => result: %lf", i , result );
26+
printf( "x: %i => result: %lf", i, result );
2727
}
2828
}

lib/node_modules/@stdlib/stats/base/dists/arcsine/entropy/benchmark/c/benchmark.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ static double benchmark( void ) {
100100
int i;
101101

102102
for ( i = 0; i < 100; i++ ) {
103-
a[ i ] = random_uniform( 0, 20 );
104-
b[ i ] = random_uniform( 0, 20 ) + a[ i ];
103+
a[ i ] = random_uniform( 0.0, 20.0 );
104+
b[ i ] = random_uniform( 0.0, 20.0 ) + a[ i ];
105105
}
106106

107107
t = tic();

lib/node_modules/@stdlib/stats/base/dists/arcsine/variance/benchmark/benchmark.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var variance = require( './../lib' );
3030

3131
// MAIN //
3232

33-
bench( pkg, function benchmark( b ) {
33+
bench( pkg+'::native', function benchmark( b ) {
3434
var min;
3535
var max;
3636
var len;

lib/node_modules/@stdlib/stats/base/dists/bernoulli/mean/examples/c/example.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ int main( void ) {
2828
for ( i = 0; i < 25; i++ ) {
2929
p = (double)rand() / ( (double)RAND_MAX + 1.0 );
3030
y = stdlib_base_dists_bernoulli_mean( p );
31-
printf( "x: %lf , E(X;p): %lf\n", p , y );
31+
printf( "x: %lf, E(X;p): %lf\n", p, y );
3232
}
3333
}

0 commit comments

Comments
 (0)