Skip to content

Commit cde0cc5

Browse files
authored
fix: apply suggestions from code review
Signed-off-by: Muhammad Haris <[email protected]>
1 parent dc6cb6f commit cde0cc5

File tree

1 file changed

+3
-3
lines changed
  • lib/node_modules/@stdlib/ndarray/find

1 file changed

+3
-3
lines changed

lib/node_modules/@stdlib/ndarray/find/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ function isEven( value ) {
198198
}
199199

200200
// Create an input ndarray:
201-
var x = array( [ [ [ 1.0, 2.0 ], [ 3.0, 4.0 ] ], [ [ 0.0, 6.0 ], [ 7.0, 8.0 ] ] ] );
201+
var x = array( [ [ [ 1.0, 2.0 ], [ 3.0, 4.0 ] ], [ [ 5.0, 6.0 ], [ 7.0, 8.0 ] ] ] );
202202
// returns <ndarray>
203203

204204
// Create an output ndarray:
@@ -240,12 +240,12 @@ function isEven( value ) {
240240
}
241241

242242
// Create an input ndarray:
243-
var x = array( [ [ [ 1.0, 2.0 ] ], [ [ 3.0, 4.0 ] ], [ [ 5.0, 6.0 ] ] ] );
243+
var x = array( [ [ [ 1.0, 2.0 ], [ 3.0, 4.0 ] ], [ [ 5.0, 6.0 ], [ 7.0, 8.0 ] ] ] );
244244
// returns <ndarray>
245245

246246
// Create an output ndarray:
247247
var y = empty( [ 2, 2 ], {
248-
'dtype': 'bool'
248+
'dtype': 'x.dtype'
249249
});
250250

251251
var opts = {

0 commit comments

Comments
 (0)