Skip to content

Commit d56a12b

Browse files
authored
Apply suggestions from code review
Signed-off-by: Athan <[email protected]>
1 parent eebb2ef commit d56a12b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ Computes the sum of single-precision floating-point strided array elements using
180180
const float x[] = { 1.0f, 2.0f, 3.0f, 4.0f };
181181

182182
double v = stdlib_strided_dssumors( 4, x, 1 );
183-
// returns 1.0
183+
// returns 10.0
184184
```
185185
186186
The function accepts the following arguments:
@@ -201,7 +201,7 @@ Computes the sum of single-precision floating-point strided array elements using
201201
const float x[] = { 1.0f, 2.0f, 3.0f, 4.0f };
202202

203203
double v = stdlib_strided_dssumors_ndarray( 4, x, 1, 0 );
204-
// returns 1.0
204+
// returns 10.0
205205
```
206206
207207
The function accepts the following arguments:

lib/node_modules/@stdlib/blas/ext/base/dssumors/include/stdlib/blas/ext/base/dssumors.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ extern "C" {
2929
#endif
3030

3131
/**
32-
* Computes the sum of single-precision floating-point strided array elements using ordinary recursive summation with extended accumulation and returning an extended precision result.
32+
* Computes the sum of single-precision floating-point strided array elements using ordinary recursive summation with extended accumulation and returning an extended precision result.
3333
*/
3434
double API_SUFFIX(stdlib_strided_dssumors)( const CBLAS_INT N, const float *X, const CBLAS_INT strideX );
3535

3636
/**
37-
* Computes the sum of single-precision floating-point strided array elements using ordinary recursive summation with extended accumulation and alternative indexing semantics and returning an extended precision result.
37+
* Computes the sum of single-precision floating-point strided array elements using ordinary recursive summation with extended accumulation and alternative indexing semantics and returning an extended precision result.
3838
*/
3939
double API_SUFFIX(stdlib_strided_dssumors_ndarray)( const CBLAS_INT N, const float *X, const CBLAS_INT strideX, const CBLAS_INT offsetX );
4040

0 commit comments

Comments
 (0)