Skip to content

Commit 37edb17

Browse files
authored
Apply suggestions from code review
Signed-off-by: Athan <[email protected]>
1 parent 43c5f80 commit 37edb17

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/blas/base/cswap

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/blas/base/cswap/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ Interchanges two complex single-precision floating-point vectors using alternati
314314
float x[] = { 1.0f, 2.0f, 3.0f, 4.0f }; // interleaved real and imaginary components
315315
float y[] = { 5.0f, 6.0f, 7.0f, 8.0f };
316316

317-
c_cswap_ndarray( 2, (void *)x, 1, 0, (void *)Y, 1, 0 );
317+
c_cswap_ndarray( 2, (void *)x, 1, 0, (void *)y, 1, 0 );
318318
```
319319
320320
The function accepts the following arguments:
@@ -323,7 +323,7 @@ The function accepts the following arguments:
323323
- **X**: `[inout] void*` first input array.
324324
- **strideX**: `[in] CBLAS_INT` index increment for `X`.
325325
- **offsetX**: `[in] CBLAS_INT` starting index for `X`.
326-
- **Y**: `[inout] void*` first input array.
326+
- **Y**: `[inout] void*` second input array.
327327
- **strideY**: `[in] CBLAS_INT` index increment for `Y`.
328328
- **offsetY**: `[in] CBLAS_INT` starting index for `Y`.
329329

0 commit comments

Comments
 (0)