File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
lib/node_modules/@stdlib/stats/max Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ The method accepts the following options:
210
210
211
211
``` javascript
212
212
var discreteUniform = require ( ' @stdlib/random/array/discrete-uniform' );
213
- var dtype = require ( ' @stdlib/ndarray/dtype' );
213
+ var getDType = require ( ' @stdlib/ndarray/dtype' );
214
214
var ndarray2array = require ( ' @stdlib/ndarray/to-array' );
215
215
var ndarray = require ( ' @stdlib/ndarray/ctor' );
216
216
var max = require ( ' @stdlib/stats/max' );
@@ -230,7 +230,7 @@ var y = max( x, {
230
230
});
231
231
232
232
// Resolve the output array data type:
233
- var dt = dtype ( y );
233
+ var dt = getDType ( y );
234
234
console .log ( dt );
235
235
236
236
// Print the results:
Original file line number Diff line number Diff line change 19
19
'use strict' ;
20
20
21
21
var discreteUniform = require ( '@stdlib/random/array/discrete-uniform' ) ;
22
- var dtype = require ( '@stdlib/ndarray/dtype' ) ;
22
+ var getDType = require ( '@stdlib/ndarray/dtype' ) ;
23
23
var ndarray2array = require ( '@stdlib/ndarray/to-array' ) ;
24
24
var ndarray = require ( '@stdlib/ndarray/ctor' ) ;
25
25
var max = require ( './../lib' ) ;
@@ -39,7 +39,7 @@ var y = max( x, {
39
39
} ) ;
40
40
41
41
// Resolve the output array data type:
42
- var dt = dtype ( y ) ;
42
+ var dt = getDType ( y ) ;
43
43
console . log ( dt ) ;
44
44
45
45
// Print the results:
You can’t perform that action at this time.
0 commit comments