Skip to content

Commit b670bb9

Browse files
committed
Merge branch 'develop' of https://github.com/stdlib-js/stdlib into develop
2 parents 7eae6df + 1c11f2e commit b670bb9

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ interface Routine {
3030
* Scales a double-precision complex floating-point vector by a double-precision floating-point constant.
3131
*
3232
* @param N - number of indexed elements
33-
* @param za - scalar constant
33+
* @param da - scalar constant
3434
* @param zx - input array
3535
* @param strideZX - `zx` stride length
3636
* @returns input array

lib/node_modules/@stdlib/stats/base/smeanors/benchmark/c/benchmark.length.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ static double benchmark( int iterations, int len ) {
107107
v = 0.0f;
108108
t = tic();
109109
for ( i = 0; i < iterations; i++ ) {
110+
// cppcheck-suppress uninitvar
110111
v = stdlib_strided_smeanors( len, x, 1 );
111112
if ( v != v ) {
112113
printf( "should not return NaN\n" );

lib/node_modules/@stdlib/strided/base/dmskmap/examples/c/example.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ static double scale( const double x ) {
2828

2929
int main( void ) {
3030
// Create an input strided array:
31-
double X[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 };
31+
const double X[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 };
3232

3333
// Create a mask strided array:
34-
uint8_t M[] = { 0, 0, 1, 0, 0, 1 };
34+
const uint8_t M[] = { 0, 0, 1, 0, 0, 1 };
3535

3636
// Create an output strided array:
3737
double Y[] = { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 };

0 commit comments

Comments
 (0)