Skip to content

Commit 0d7c7b1

Browse files
committed
docs: pass in proper argument in TSDoc example code for random/array packages
--- 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: na - 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: na - 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: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 80a9821 commit 0d7c7b1

File tree

33 files changed

+33
-33
lines changed

33 files changed

+33
-33
lines changed

lib/node_modules/@stdlib/random/array/arcsine/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ interface Random extends PRNG {
189189
* var x = zeros( 10, 'float64' );
190190
* // returns <Float64Array>
191191
*
192-
* var out = arcsine( 2.0, 5.0, out );
192+
* var out = arcsine( 2.0, 5.0, x );
193193
* // returns <Float64Array>
194194
*
195195
* var bool = ( out === x );

lib/node_modules/@stdlib/random/array/bernoulli/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ interface Random extends PRNG {
185185
* var x = zeros( 10, 'float64' );
186186
* // returns <Float64Array>
187187
*
188-
* var out = bernoulli( 0.5, out );
188+
* var out = bernoulli( 0.5, x );
189189
* // returns <Float64Array>
190190
*
191191
* var bool = ( out === x );

lib/node_modules/@stdlib/random/array/beta/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ interface Random extends PRNG {
189189
* var x = zeros( 10, 'float64' );
190190
* // returns <Float64Array>
191191
*
192-
* var out = beta( 2.0, 5.0, out );
192+
* var out = beta( 2.0, 5.0, x );
193193
* // returns <Float64Array>
194194
*
195195
* var bool = ( out === x );

lib/node_modules/@stdlib/random/array/betaprime/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ interface Random extends PRNG {
189189
* var x = zeros( 10, 'float64' );
190190
* // returns <Float64Array>
191191
*
192-
* var out = betaprime( 2.0, 5.0, out );
192+
* var out = betaprime( 2.0, 5.0, x );
193193
* // returns <Float64Array>
194194
*
195195
* var bool = ( out === x );

lib/node_modules/@stdlib/random/array/binomial/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ interface Random extends PRNG {
189189
* var x = zeros( 10, 'float64' );
190190
* // returns <Float64Array>
191191
*
192-
* var out = binomial( 17, 0.5, out );
192+
* var out = binomial( 17, 0.5, x );
193193
* // returns <Float64Array>
194194
*
195195
* var bool = ( out === x );

lib/node_modules/@stdlib/random/array/cauchy/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ interface Random extends PRNG {
189189
* var x = zeros( 10, 'float64' );
190190
* // returns <Float64Array>
191191
*
192-
* var out = cauchy( 2.0, 5.0, out );
192+
* var out = cauchy( 2.0, 5.0, x );
193193
* // returns <Float64Array>
194194
*
195195
* var bool = ( out === x );

lib/node_modules/@stdlib/random/array/chi/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ interface Random extends PRNG {
185185
* var x = zeros( 10, 'float64' );
186186
* // returns <Float64Array>
187187
*
188-
* var out = chi( 2.0, out );
188+
* var out = chi( 2.0, x );
189189
* // returns <Float64Array>
190190
*
191191
* var bool = ( out === x );

lib/node_modules/@stdlib/random/array/chisquare/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ interface Random extends PRNG {
185185
* var x = zeros( 10, 'float64' );
186186
* // returns <Float64Array>
187187
*
188-
* var out = chisquare( 2.0, out );
188+
* var out = chisquare( 2.0, x );
189189
* // returns <Float64Array>
190190
*
191191
* var bool = ( out === x );

lib/node_modules/@stdlib/random/array/cosine/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ interface Random extends PRNG {
189189
* var x = zeros( 10, 'float64' );
190190
* // returns <Float64Array>
191191
*
192-
* var out = cosine( 2.0, 5.0, out );
192+
* var out = cosine( 2.0, 5.0, x );
193193
* // returns <Float64Array>
194194
*
195195
* var bool = ( out === x );

lib/node_modules/@stdlib/random/array/discrete-uniform/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ interface Random extends PRNG {
189189
* var x = zeros( 10, 'float64' );
190190
* // returns <Float64Array>
191191
*
192-
* var out = discreteUniform( -10, 10, out );
192+
* var out = discreteUniform( -10, 10, x );
193193
* // returns <Float64Array>
194194
*
195195
* var bool = ( out === x );

0 commit comments

Comments
 (0)