Skip to content

Commit aa5eadc

Browse files
authored
refactor: use stdlib dependencies instead of math.h in stats/base/dcuminabs
PR-URL: #4699 Reviewed-by: Philipp Burckhardt <[email protected]>
1 parent 82d6dde commit aa5eadc

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/stats/base/dcuminabs/src

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ void API_SUFFIX(stdlib_strided_dcuminabs_ndarray)( const CBLAS_INT N, const doub
6969
if ( !stdlib_base_is_nan( min ) ) {
7070
for (; i < N; i++ ) {
7171
ix += strideX;
72-
v = fabs( X[ ix ] );
72+
v = stdlib_base_abs( X[ ix ] );
7373
if ( stdlib_base_is_nan( v ) ) {
7474
min = v;
7575
break;

0 commit comments

Comments
 (0)