Skip to content

Commit 9b376ef

Browse files
committed
docs: update examples
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: passed - task: lint_package_json status: na - task: lint_repl_help status: skipped - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: passed - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: passed - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent da7f3a3 commit 9b376ef

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

lib/node_modules/@stdlib/ndarray/base/unary-reduce-strided1d-dispatch-by-factory/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ var base = require( '@stdlib/stats/base/ndarray/max-by' );
173173
var dtypes = require( '@stdlib/ndarray/dtypes' );
174174
var ndarray = require( '@stdlib/ndarray/base/ctor' );
175175

176-
var idt = dtypes();
177-
var odt = dtypes( 'real_and_generic' );
176+
var idt = dtypes( 'real_and_generic' );
177+
var odt = idt;
178178
var policies = {
179179
'output': 'same',
180180
'casting': 'none'
@@ -263,8 +263,8 @@ var ndarray = require( '@stdlib/ndarray/ctor' );
263263
var unaryStrided1dDispatchByFactory = require( '@stdlib/ndarray/base/unary-reduce-strided1d-dispatch-by-factory' );
264264
265265
// Define the supported input and output data types:
266-
var idt = dtypes();
267-
var odt = dtypes( 'real_and_generic' );
266+
var idt = dtypes( 'real_and_generic' );
267+
var odt = idt;
268268
269269
// Define dispatch policies:
270270
var policies = {

lib/node_modules/@stdlib/ndarray/base/unary-reduce-strided1d-dispatch-by-factory/benchmark/benchmark.assign.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function createBenchmark( len ) {
6464
table = {
6565
'default': maxBy
6666
};
67-
idt = dtypes();
67+
idt = dtypes( 'real_and_generic' );
6868
odt = dtypes( 'real_and_generic' );
6969
policies = {
7070
'output': 'same',

lib/node_modules/@stdlib/ndarray/base/unary-reduce-strided1d-dispatch-by-factory/benchmark/benchmark.length.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function createBenchmark( len ) {
6262
table = {
6363
'default': maxBy
6464
};
65-
idt = dtypes();
65+
idt = dtypes( 'real_and_generic' );
6666
odt = dtypes( 'real_and_generic' );
6767
policies = {
6868
'output': 'same',

lib/node_modules/@stdlib/ndarray/base/unary-reduce-strided1d-dispatch-by-factory/examples/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ var ndarray = require( '@stdlib/ndarray/ctor' );
2828
var factory = require( './../lib' );
2929

3030
// 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;
3333

3434
// Define dispatch policies:
3535
var policies = {

lib/node_modules/@stdlib/ndarray/base/unary-reduce-strided1d-dispatch-by-factory/lib/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
* var ndarray = require( '@stdlib/ndarray/base/ctor' );
3030
* var factory = require( '@stdlib/ndarray/base/unary-reduce-strided1d-dispatch-by-factory' );
3131
*
32-
* var idt = dtypes();
33-
* var odt = dtypes( 'real_and_generic' );
32+
* var idt = dtypes( 'real_and_generic' );
33+
* var odt = idt;
3434
* var policies = {
3535
* 'output': 'same',
3636
* 'casting': 'none'
@@ -60,8 +60,8 @@
6060
* var ndarray = require( '@stdlib/ndarray/base/ctor' );
6161
* var factory = require( '@stdlib/ndarray/base/unary-reduce-strided1d-dispatch-by-factory' );
6262
*
63-
* var idt = dtypes();
64-
* var odt = dtypes( 'real_and_generic' );
63+
* var idt = dtypes( 'real_and_generic' );
64+
* var odt = idt;
6565
* var policies = {
6666
* 'output': 'same',
6767
* 'casting': 'none'

0 commit comments

Comments
 (0)