Skip to content

Commit a585adb

Browse files
fix: test error
2 parents b109a61 + 62251fa commit a585adb

File tree

1 file changed

+4
-4
lines changed
  • lib/node_modules/@stdlib/stats/base/dnanrange/src

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
* @param strideX stride length
3030
* @return output value
3131
*/
32-
double API_SUFFIX(stdlib_strided_dnanminabs)( const CBLAS_INT N, const double *X, const CBLAS_INT strideX ) {
32+
double API_SUFFIX(stdlib_strided_dnanrange)( const CBLAS_INT N, const double *X, const CBLAS_INT strideX ) {
3333
const CBLAS_INT ox = stdlib_strided_stride2offset( N, strideX );
34-
return API_SUFFIX(stdlib_strided_dnanminabs_ndarray)( N, X, strideX, ox );
34+
return API_SUFFIX(stdlib_strided_dnanrange_ndarray)( N, X, strideX, ox );
3535
}
3636

3737
/**
@@ -43,7 +43,7 @@ double API_SUFFIX(stdlib_strided_dnanminabs)( const CBLAS_INT N, const double *X
4343
* @param offsetX starting index for X
4444
* @return output value
4545
*/
46-
double API_SUFFIX(stdlib_strided_dnanminabs_ndarray)( const CBLAS_INT N, const double *X, const CBLAS_INT strideX, const CBLAS_INT offsetX ) {
46+
double API_SUFFIX(stdlib_strided_dnanrange_ndarray)( const CBLAS_INT N, const double *X, const CBLAS_INT strideX, const CBLAS_INT offsetX ) {
4747
double max;
4848
double min;
4949
CBLAS_INT ix;
@@ -59,7 +59,7 @@ double API_SUFFIX(stdlib_strided_dnanminabs_ndarray)( const CBLAS_INT N, const d
5959
}
6060
return 0.0;
6161
}
62-
if ( stridex < 0 ) {
62+
if ( strideX < 0 ) {
6363
ix = (1-N) * strideX;
6464
} else {
6565
ix = 0;

0 commit comments

Comments
 (0)