Skip to content

Commit aa42d59

Browse files
authored
docs: update example to match docs
Signed-off-by: Athan <[email protected]>
1 parent 4046601 commit aa42d59

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/blas/base/wasm/scasum/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ var Complex64Array = require( '@stdlib/array/complex64' );
101101

102102
var x = new Complex64Array( [ -2.0, 1.0, 3.0, -5.0, 4.0, 0.0, -1.0, -3.0 ] );
103103

104-
var sum = scasum.ndarray( 2, x, 1, x.length-2 );
105-
// returns 8.0
104+
var sum = scasum.ndarray( 3, x, 1, x.length-2 );
105+
// returns 16.0
106106
```
107107

108108
* * *

0 commit comments

Comments
 (0)