Skip to content

Commit a62261a

Browse files
authored
docs: fix variable name in example
PR-URL: stdlib-js#5524 Reviewed-by: Athan Reines <[email protected]>
1 parent 4efada9 commit a62261a

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/lapack/base/zlacpy/examples

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/lapack/base/zlacpy/examples/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ var Complex128Array = require( '@stdlib/array/complex128' );
2323
var uniform = require( '@stdlib/random/array/discrete-uniform' );
2424
var numel = require( '@stdlib/ndarray/base/numel' );
2525
var shape2strides = require( '@stdlib/ndarray/base/shape2strides' );
26-
var dlacpy = require( './../lib' );
26+
var zlacpy = require( './../lib' );
2727

2828
var shape = [ 5, 8 ];
2929
var order = 'row-major';
@@ -41,5 +41,5 @@ var B = new Complex128Array( uniform( 2*N, -10, 10, {
4141
}));
4242
console.log( ndarray2array( B, shape, strides, 0, order ) );
4343

44-
dlacpy( order, 'all', shape[ 0 ], shape[ 1 ], A, strides[ 0 ], B, strides[ 0 ] );
44+
zlacpy( order, 'all', shape[ 0 ], shape[ 1 ], A, strides[ 0 ], B, strides[ 0 ] );
4545
console.log( ndarray2array( B, shape, strides, 0, order ) );

0 commit comments

Comments
 (0)