Skip to content

Commit cf2a48e

Browse files
authored
chore: cleaning up
1 parent ff01911 commit cf2a48e

File tree

2 files changed

+3
-3
lines changed
  • lib/node_modules/@stdlib/stats/base/smaxabssorted

2 files changed

+3
-3
lines changed

lib/node_modules/@stdlib/stats/base/smaxabssorted/docs/repl.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
The input strided array must be sorted in either strictly ascending or
77
descending order.
88

9-
The `N` and stride parameters determine which elements in `x` are accessed
10-
at runtime.
9+
The `N` and stride parameters determine which elements in the strided array
10+
are accessed at runtime.
1111

1212
Indexing is relative to the first index. To introduce an offset, use a typed
1313
array view.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ float API_SUFFIX(stdlib_strided_smaxabssorted_ndarray)( const CBLAS_INT N, const
5555
return X[ 0 ];
5656
}
5757
v1 = X[ offsetX ];
58-
v2 = X[ (N-1) * strideX + offsetX ];
58+
v2 = X[ ( ( N - 1 ) * strideX ) + offsetX ];
5959
if ( stdlib_base_is_nanf( v1 ) || stdlib_base_is_nanf( v2 ) ) {
6060
return 0.0f / 0.0f; // NaN
6161
}

0 commit comments

Comments
 (0)