We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f35a29 commit cb86a56Copy full SHA for cb86a56
lib/node_modules/@stdlib/stats/max/lib/main.js
@@ -31,7 +31,10 @@ var factory = require( '@stdlib/ndarray/base/unary-reduce-strided1d-dispatch-fac
31
32
var idtypes = dtypes( 'real_and_generic' );
33
var odtypes = dtypes( 'real_and_generic' );
34
-var policy = 'same';
+var policies = {
35
+ 'output': 'same',
36
+ 'casting': 'none'
37
+};
38
var table = {
39
'types': [
40
'float64', // input
@@ -90,7 +93,7 @@ var table = {
90
93
* var v = out.get();
91
94
* // returns 11.0
92
95
*/
-var max = factory( table, [ idtypes ], odtypes, policy );
96
+var max = factory( table, [ idtypes ], odtypes, policies );
97
98
99
// EXPORTS //
0 commit comments