Skip to content

Commit 2dcddfa

Browse files
authored
docs: update example
Signed-off-by: Athan <kgryte@gmail.com>
1 parent 332e52d commit 2dcddfa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • lib/node_modules/@stdlib/stats/base/ndarray/dnanstdevpn

lib/node_modules/@stdlib/stats/base/ndarray/dnanstdevpn/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ var opts = {
164164
'dtype': 'float64'
165165
};
166166

167-
var xbuf = filledarrayBy( 10, 'float64', rand );
167+
var xbuf = filledarrayBy( 10, opts.dtype, rand );
168168
var x = new ndarray( opts.dtype, xbuf, [ xbuf.length ], [ 1 ], 0, 'row-major' );
169169
console.log( ndarray2array( x ) );
170170

0 commit comments

Comments
 (0)