Skip to content

Commit 475d08f

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: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: passed - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - 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 4b02cea commit 475d08f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/node_modules/@stdlib/stats/max/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ The method accepts the following options:
210210

211211
```javascript
212212
var discreteUniform = require( '@stdlib/random/array/discrete-uniform' );
213-
var dtype = require( '@stdlib/ndarray/dtype' );
213+
var getDType = require( '@stdlib/ndarray/dtype' );
214214
var ndarray2array = require( '@stdlib/ndarray/to-array' );
215215
var ndarray = require( '@stdlib/ndarray/ctor' );
216216
var max = require( '@stdlib/stats/max' );
@@ -230,7 +230,7 @@ var y = max( x, {
230230
});
231231

232232
// Resolve the output array data type:
233-
var dt = dtype( y );
233+
var dt = getDType( y );
234234
console.log( dt );
235235

236236
// Print the results:

lib/node_modules/@stdlib/stats/max/examples/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
'use strict';
2020

2121
var discreteUniform = require( '@stdlib/random/array/discrete-uniform' );
22-
var dtype = require( '@stdlib/ndarray/dtype' );
22+
var getDType = require( '@stdlib/ndarray/dtype' );
2323
var ndarray2array = require( '@stdlib/ndarray/to-array' );
2424
var ndarray = require( '@stdlib/ndarray/ctor' );
2525
var max = require( './../lib' );
@@ -39,7 +39,7 @@ var y = max( x, {
3939
});
4040

4141
// Resolve the output array data type:
42-
var dt = dtype( y );
42+
var dt = getDType( y );
4343
console.log( dt );
4444

4545
// Print the results:

0 commit comments

Comments
 (0)