File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed
lib/node_modules/@stdlib/ndarray/base/unary-reduce-strided1d-dispatch-by Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -165,8 +165,8 @@ var base = require( '@stdlib/stats/base/ndarray/max-by' );
165
165
var dtypes = require ( ' @stdlib/ndarray/dtypes' );
166
166
var ndarray = require ( ' @stdlib/ndarray/base/ctor' );
167
167
168
- var idt = dtypes ();
169
- var odt = dtypes ( ' real_and_generic ' ) ;
168
+ var idt = dtypes ( ' real_and_generic ' );
169
+ var odt = idt ;
170
170
var policies = {
171
171
' output' : ' same' ,
172
172
' casting' : ' none'
@@ -253,8 +253,8 @@ var ndarray = require( '@stdlib/ndarray/ctor' );
253
253
var UnaryStrided1dDispatchBy = require( '@stdlib/ndarray/base/unary-reduce-strided1d-dispatch-by' );
254
254
255
255
// Define the supported input and output data types:
256
- var idt = dtypes();
257
- var odt = dtypes( 'real_and_generic' ) ;
256
+ var idt = dtypes( 'real_and_generic' );
257
+ var odt = idt ;
258
258
259
259
// Define dispatch policies:
260
260
var policies = {
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ function createBenchmark( len ) {
62
62
table = {
63
63
'default' : maxBy
64
64
} ;
65
- idt = dtypes ( ) ;
65
+ idt = dtypes ( 'real_and_generic' ) ;
66
66
odt = dtypes ( 'real_and_generic' ) ;
67
67
policies = {
68
68
'output' : 'same' ,
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ function createBenchmark( len ) {
64
64
table = {
65
65
'default' : maxBy
66
66
} ;
67
- idt = dtypes ( ) ;
67
+ idt = dtypes ( 'real_and_generic' ) ;
68
68
odt = dtypes ( 'real_and_generic' ) ;
69
69
policies = {
70
70
'output' : 'same' ,
Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ var ndarray = require( '@stdlib/ndarray/ctor' );
28
28
var UnaryStrided1dDispatchBy = require ( './../lib' ) ;
29
29
30
30
// Define the supported input and output data types:
31
- var idt = dtypes ( ) ;
32
- var odt = dtypes ( 'real_and_generic' ) ;
31
+ var idt = dtypes ( 'real_and_generic' ) ;
32
+ var odt = idt ;
33
33
34
34
// Define dispatch policies:
35
35
var policies = {
Original file line number Diff line number Diff line change 29
29
* var ndarray = require( '@stdlib/ndarray/base/ctor' );
30
30
* var UnaryStrided1dDispatchBy = require( '@stdlib/ndarray/base/unary-reduce-strided1d-dispatch-by' );
31
31
*
32
- * var idt = dtypes();
33
- * var odt = dtypes( 'real_and_generic' ) ;
32
+ * var idt = dtypes( 'real_and_generic' );
33
+ * var odt = idt ;
34
34
* var policies = {
35
35
* 'output': 'same',
36
36
* 'casting': 'none'
You can’t perform that action at this time.
0 commit comments