From a0b240dca6068560aa62059d7d6feccbf8b74b02 Mon Sep 17 00:00:00 2001 From: Ujjwal Verma Date: Fri, 24 Jul 2026 21:01:52 +0530 Subject: [PATCH 1/2] docs: improve doctests for ndarray instances in `stats/range` --- lib/node_modules/@stdlib/stats/range/README.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/node_modules/@stdlib/stats/range/README.md b/lib/node_modules/@stdlib/stats/range/README.md index 63565225e2fa..edd6be64e17e 100644 --- a/lib/node_modules/@stdlib/stats/range/README.md +++ b/lib/node_modules/@stdlib/stats/range/README.md @@ -190,12 +190,10 @@ The method accepts the following options: ```javascript var uniform = require( '@stdlib/random/uniform' ); var getDType = require( '@stdlib/ndarray/dtype' ); -var ndarray2array = require( '@stdlib/ndarray/to-array' ); var range = require( '@stdlib/stats/range' ); // Generate an array of random numbers: var x = uniform( [ 5, 5 ], 0.0, 20.0 ); -console.log( ndarray2array( x ) ); // Perform a reduction: var y = range( x, { @@ -205,9 +203,7 @@ var y = range( x, { // Resolve the output array data type: var dt = getDType( y ); console.log( dt ); - -// Print the results: -console.log( ndarray2array( y ) ); +// returns 'float64' ``` From cc27d5bb4a049564fb11e0db355b1e66a48132fd Mon Sep 17 00:00:00 2001 From: Ujjwal Verma Date: Fri, 24 Jul 2026 21:11:28 +0530 Subject: [PATCH 2/2] fix: resolve doctest-marker linting error --- lib/node_modules/@stdlib/stats/range/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/stats/range/README.md b/lib/node_modules/@stdlib/stats/range/README.md index edd6be64e17e..ec3996dc9eef 100644 --- a/lib/node_modules/@stdlib/stats/range/README.md +++ b/lib/node_modules/@stdlib/stats/range/README.md @@ -203,7 +203,7 @@ var y = range( x, { // Resolve the output array data type: var dt = getDType( y ); console.log( dt ); -// returns 'float64' +// => 'float64' ```