Skip to content

Commit be96cd2

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

File tree

1 file changed

+4
-4
lines changed
  • lib/node_modules/@stdlib/blas/base/zswap

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -299,15 +299,15 @@ Interchanges two complex double-precision floating-point vectors.
299299
double x[] = { 1.0, 2.0, 3.0, 4.0 }; // interleaved real and imaginary components
300300
double y[] = { 5.0, 6.0, 7.0, 8.0 };
301301

302-
c_zswap( 2, (void *)x, 1, (void *)Y, 1 );
302+
c_zswap( 2, (void *)x, 1, (void *)y, 1 );
303303
```
304304
305305
The function accepts the following arguments:
306306
307307
- **N**: `[in] CBLAS_INT` number of indexed elements.
308308
- **X**: `[inout] void*` first input array.
309309
- **strideX**: `[in] CBLAS_INT` index increment for `X`.
310-
- **Y**: `[inout] void*` first input array.
310+
- **Y**: `[inout] void*` second input array.
311311
- **strideY**: `[in] CBLAS_INT` index increment for `Y`.
312312
313313
```c
@@ -322,7 +322,7 @@ Interchanges two complex double-precision floating-point vectors using alternati
322322
double x[] = { 1.0, 2.0, 3.0, 4.0 }; // interleaved real and imaginary components
323323
double y[] = { 5.0, 6.0, 7.0, 8.0 };
324324

325-
c_zswap_ndarray( 2, (void *)x, 1, 0, (void *)Y, 1, 0 );
325+
c_zswap_ndarray( 2, (void *)x, 1, 0, (void *)y, 1, 0 );
326326
```
327327
328328
The function accepts the following arguments:
@@ -331,7 +331,7 @@ The function accepts the following arguments:
331331
- **X**: `[inout] void*` first input array.
332332
- **strideX**: `[in] CBLAS_INT` index increment for `X`.
333333
- **offsetX**: `[in] CBLAS_INT` starting index for `X`.
334-
- **Y**: `[inout] void*` first input array.
334+
- **Y**: `[inout] void*` second input array.
335335
- **strideY**: `[in] CBLAS_INT` index increment for `Y`.
336336
- **offsetY**: `[in] CBLAS_INT` starting index for `Y`.
337337

0 commit comments

Comments
 (0)