Skip to content

Commit cd044b5

Browse files
MohammadBinAftabPlaneshifter
authored andcommitted
chore: address commit comment feedback
PR-URL: stdlib-js#5078 Closes: stdlib-js#5073 Co-authored-by: Philipp Burckhardt <[email protected]> Reviewed-by: Philipp Burckhardt <[email protected]> Signed-off-by: Philipp Burckhardt <[email protected]>
1 parent 5ea82c5 commit cd044b5

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

lib/node_modules/@stdlib/blas/ext/base/dsortins/README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ stdlib_strided_dsortins( 2, -1.0, x, 1 );
181181
The function accepts the following arguments:
182182
183183
- **N**: `[in] CBLAS_INT` number of indexed elements.
184-
- **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.
184+
- **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.
185185
- **X**: `[inout] double*` input array.
186186
- **strideX**: `[in] CBLAS_INT` stride length for `X`.
187187
@@ -206,7 +206,7 @@ stdlib_strided_dsortins_ndarray( 4, 1.0, x, 1, 0 );
206206
The function accepts the following arguments:
207207
208208
- **N**: `[in] CBLAS_INT` number of indexed elements.
209-
- **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.
209+
- **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.
210210
- **X**: `[inout] double*` input array.
211211
- **strideX**: `[in] CBLAS_INT` stride length for `X`.
212212
- **offsetX**: `[in] CBLAS_INT` starting index for `X`.
@@ -255,7 +255,6 @@ int main( void ) {
255255
printf( "x[ %i ] = %lf\n", i, x[ i ] );
256256
}
257257
}
258-
259258
```
260259
261260
</section>

lib/node_modules/@stdlib/blas/ext/base/dsortins/src/main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ void API_SUFFIX(stdlib_strided_dsortins_ndarray)( const CBLAS_INT N, const doubl
6969
ox = offsetX;
7070
}
7171
fx = ox;
72-
lx = fx + (N-1) * sx;
72+
lx = fx + ( (N-1) * sx );
7373
ix = fx + sx;
7474
if ( sx < 0 ) {
7575
// Traverse the strided array from right-to-left...

0 commit comments

Comments
 (0)