Skip to content

Commit 83b4aef

Browse files
authored
docs: fix example
Signed-off-by: Athan <kgryte@gmail.com>
1 parent 6ebd5ab commit 83b4aef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • lib/node_modules/@stdlib/blas/ext/base/gvander

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ var out0 = new Float64Array( [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 ] );
7474
var x1 = new Float64Array( x0.buffer, x0.BYTES_PER_ELEMENT*1 ); // start at 2nd element
7575
var out1 = new Float64Array( out0.buffer, out0.BYTES_PER_ELEMENT*1 ); // start at 2nd element
7676

77-
gvander( 'row-major', 1, 3, 3, x, 1, out, 3 );
77+
gvander( 'row-major', 1, 3, 3, x1, 1, out1, 3 );
7878
// out0 => <Float64Array>[ 0.0, 1.0, 1.0, 1.0, 1.0, 2.0, 4.0, 1.0, 3.0, 9.0 ]
7979
```
8080

0 commit comments

Comments
 (0)