Skip to content

Commit 0afa422

Browse files
fix: CI errors
1 parent bf6ac72 commit 0afa422

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ static double benchmark1( int iterations, int len ) {
104104
for ( i = 0; i < len; i++ ) {
105105
x[ i ] = ( rand_float()*20000.0f ) - 10000.0f;
106106
}
107-
v = 0.0;
107+
v = 0.0f;
108108
t = tic();
109109
for ( i = 0; i < iterations; i++ ) {
110110
v = stdlib_strided_dsmeanwd( len, x, 1 );

lib/node_modules/@stdlib/stats/base/dsmeanwd/src/addon.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2020 The Stdlib Authors.
4+
* Copyright (c) 2024 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/stats/base/dsmeanwd/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ double API_SUFFIX(stdlib_strided_dsmeanwd_ndarray)( const CBLAS_INT N, const flo
7373
if ( N == 1 || strideX == 0 ) {
7474
return X[ 0 ];
7575
}
76-
if ( stride < 0 ) {
76+
if ( strideX < 0 ) {
7777
ix = (1-N) * strideX;
7878
} else {
7979
ix = 0;

0 commit comments

Comments
 (0)