diff --git a/lib/node_modules/@stdlib/blas/ext/base/dsortins/README.md b/lib/node_modules/@stdlib/blas/ext/base/dsortins/README.md index d634316f4d5d..0deac6c6af76 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dsortins/README.md +++ b/lib/node_modules/@stdlib/blas/ext/base/dsortins/README.md @@ -181,7 +181,7 @@ stdlib_strided_dsortins( 2, -1.0, x, 1 ); The function accepts the following arguments: - **N**: `[in] CBLAS_INT` number of indexed elements. -- **order**: `[in] double` sort order. If `order < 0.0`, the input strided array `x` is sorted in **decreasing** order. If `order > 0.0`, the input strided array `x` is sorted in **increasing** order. If `order == 0.0`, the input strided arrays are left unchanged. +- **order**: `[in] double` sort order. If `order < 0.0`, the input strided array is sorted in **decreasing** order. If `order > 0.0`, the input strided array is sorted in **increasing** order. If `order == 0.0`, the input strided array is left unchanged. - **X**: `[inout] double*` input array. - **strideX**: `[in] CBLAS_INT` stride length for `X`. @@ -206,7 +206,7 @@ stdlib_strided_dsortins_ndarray( 4, 1.0, x, 1, 0 ); The function accepts the following arguments: - **N**: `[in] CBLAS_INT` number of indexed elements. -- **order**: `[in] double` sort order. If `order < 0.0`, the input strided array `x` is sorted in **decreasing** order. If `order > 0.0`, the input strided array `x` is sorted in **increasing** order. If `order == 0.0`, the input strided arrays are left unchanged. +- **order**: `[in] double` sort order. If `order < 0.0`, the input strided array is sorted in **decreasing** order. If `order > 0.0`, the input strided array is sorted in **increasing** order. If `order == 0.0`, the input strided array is left unchanged. - **X**: `[inout] double*` input array. - **strideX**: `[in] CBLAS_INT` stride length for `X`. - **offsetX**: `[in] CBLAS_INT` starting index for `X`. @@ -255,7 +255,6 @@ int main( void ) { printf( "x[ %i ] = %lf\n", i, x[ i ] ); } } - ``` diff --git a/lib/node_modules/@stdlib/blas/ext/base/dsortins/src/main.c b/lib/node_modules/@stdlib/blas/ext/base/dsortins/src/main.c index 8d39e192b0a7..0cb8be610ba5 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dsortins/src/main.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dsortins/src/main.c @@ -69,7 +69,7 @@ void API_SUFFIX(stdlib_strided_dsortins_ndarray)( const CBLAS_INT N, const doubl ox = offsetX; } fx = ox; - lx = fx + (N-1) * sx; + lx = fx + ( (N-1) * sx ); ix = fx + sx; if ( sx < 0 ) { // Traverse the strided array from right-to-left...