Skip to content

Commit 8c8bc89

Browse files
committed
Auto-generated commit
1 parent e29ef04 commit 8c8bc89

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3479,6 +3479,7 @@ A total of 557 issues were closed in this release:
34793479

34803480
<details>
34813481

3482+
- [`be4ce52`](https://github.com/stdlib-js/stdlib/commit/be4ce524621e636ab04b9940df550dff7dc93aa5) - **docs:** update examples to use explicit dtype _(by Athan Reines)_
34823483
- [`7d92c02`](https://github.com/stdlib-js/stdlib/commit/7d92c02e873280404a69091107eec08afc1cbb74) - **docs:** fix typos and missing require in mediansorted packages _(by Philipp Burckhardt)_
34833484
- [`fd40621`](https://github.com/stdlib-js/stdlib/commit/fd40621d93fac33ff8a483754f3aa2c8c929f1b9) - **docs:** fix typos and inconsistencies in ndarray stats READMEs _(by Philipp Burckhardt)_
34843485
- [`e63bbbd`](https://github.com/stdlib-js/stdlib/commit/e63bbbd535150fb694d287d97adbb5d606bd42fe) - **docs:** update namespace table of contents [(#8639)](https://github.com/stdlib-js/stdlib/pull/8639) _(by stdlib-bot)_

base/ndarray/minsorted/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@ var ndarray2array = require( '@stdlib/ndarray/to-array' );
8282
var minsorted = require( '@stdlib/stats/base/ndarray/minsorted' );
8383

8484
// Create a sorted data buffer:
85-
var xbuf = linspace( -5.0, 5.0, 10 );
85+
var xbuf = linspace( -5.0, 5.0, 10, {
86+
'dtype': 'generic'
87+
});
8688

8789
// Wrap in an ndarray:
8890
var x = new ndarray( 'generic', xbuf, [ xbuf.length ], [ 1 ], 0, 'row-major' );

base/ndarray/minsorted/examples/index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,15 @@
1818

1919
'use strict';
2020

21-
var linspace = require( '@stdlib/array/base/linspace' );
21+
var linspace = require( '@stdlib/array/linspace' );
2222
var ndarray = require( '@stdlib/ndarray/base/ctor' );
2323
var ndarray2array = require( '@stdlib/ndarray/to-array' );
2424
var minsorted = require( './../lib' );
2525

2626
// Create a sorted data buffer:
27-
var xbuf = linspace( -5.0, 5.0, 10 );
27+
var xbuf = linspace( -5.0, 5.0, 10, {
28+
'dtype': 'generic'
29+
});
2830

2931
// Create an ndarray:
3032
var x = new ndarray( 'generic', xbuf, [ 10 ], [ 1 ], 0, 'row-major' );

0 commit comments

Comments
 (0)