Skip to content

Commit de94b9c

Browse files
fix: typo error
1 parent e562f6c commit de94b9c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

lib/node_modules/@stdlib/stats/base/dnanminabs/lib/dnanminabs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ var ndarray = require( './ndarray.js' );
4444
* // returns 1.0
4545
*/
4646
function dnanminabs( N, x, strideX ) {
47-
return ndarray( N, x, strideX, stride2offset( N, strideX ) );
47+
return ndarray( N, x, strideX, stride2offset( N, strideX ) );
4848
}
4949

5050

lib/node_modules/@stdlib/stats/base/dnanminabs/lib/ndarray.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
X/**
1+
/**
22
* @license Apache-2.0
33
*
44
* Copyright (c) 2020 The Stdlib Authors.

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ double API_SUFFIX(stdlib_strided_dnanminabs_ndarray)( const CBLAS_INT N, const d
5454
return 0.0 / 0.0; // NaN
5555
}
5656
if ( N == 1 || strideX == 0 ) {
57-
return fabs( X[ 0 ] );
57+
return stdlib_base_abs( X[ 0 ] );
5858
}
5959
if ( strideX < 0 ) {
6060
ix = (1-N) * strideX;
@@ -71,11 +71,11 @@ double API_SUFFIX(stdlib_strided_dnanminabs_ndarray)( const CBLAS_INT N, const d
7171
if ( i == N ) {
7272
return 0.0 / 0.0; // NaN
7373
}
74-
min = fabs( v );
74+
min = stdlib_base_abs( v );
7575
i += 1;
7676
for (; i < N; i++ ) {
7777
ix += strideX;
78-
v = fabs( X[ ix ] );
78+
v = stdlib_base_abs( X[ ix ] );
7979
if ( stdlib_base_is_nan( v ) ) {
8080
continue;
8181
}

0 commit comments

Comments
 (0)