Skip to content

Commit 73da28b

Browse files
committed
fix: correct comments in examples and README
1 parent beef4cd commit 73da28b

File tree

2 files changed

+4
-4
lines changed
  • lib/node_modules/@stdlib/ndarray/base/binary-reduce-strided1d-dispatch

2 files changed

+4
-4
lines changed

lib/node_modules/@stdlib/ndarray/base/binary-reduce-strided1d-dispatch/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,15 +271,15 @@ var table = {
271271
// Create an interface for performing a binary reduction:
272272
var dot = new BinaryStrided1dDispatch( table, [ idt, idt ], odt, policies );
273273
274-
// Generate an arrays of random numbers:
274+
// Generate arrays of random numbers:
275275
var xbuf = uniform( 100, -1.0, 1.0, {
276276
'dtype': 'generic'
277277
});
278278
var ybuf = uniform( 100, -1.0, 1.0, {
279279
'dtype': 'generic'
280280
});
281281
282-
// Wrap in an ndarrays:
282+
// Wrap in ndarrays:
283283
var x = new ndarray( 'generic', xbuf, [ 10, 10 ], [ 10, 1 ], 0, 'row-major' );
284284
var y = new ndarray( 'generic', ybuf, [ 10, 10 ], [ 10, 1 ], 0, 'row-major' );
285285

lib/node_modules/@stdlib/ndarray/base/binary-reduce-strided1d-dispatch/examples/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@ var table = {
5656
// Create an interface for performing a binary reduction:
5757
var dot = new BinaryStrided1dDispatch( table, [ idt, idt ], odt, policies );
5858

59-
// Generate an arrays of random numbers:
59+
// Generate arrays of random numbers:
6060
var xbuf = uniform( 100, -1.0, 1.0, {
6161
'dtype': 'generic'
6262
});
6363
var ybuf = uniform( 100, -1.0, 1.0, {
6464
'dtype': 'generic'
6565
});
6666

67-
// Wrap in an ndarrays:
67+
// Wrap in ndarrays:
6868
var x = new ndarray( 'generic', xbuf, [ 10, 10 ], [ 10, 1 ], 0, 'row-major' );
6969
var y = new ndarray( 'generic', ybuf, [ 10, 10 ], [ 10, 1 ], 0, 'row-major' );
7070

0 commit comments

Comments
 (0)