Skip to content

Commit 8dfaa48

Browse files
chore: updated according to code review
--- 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: passed - 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 --- --- type: pre_push_report description: Results of running various checks prior to pushing changes. report: - task: run_javascript_examples status: passed - task: run_c_examples status: na - task: run_cpp_examples status: na - task: run_javascript_readme_examples status: passed - task: run_c_benchmarks status: na - task: run_cpp_benchmarks status: na - task: run_fortran_benchmarks status: na - task: run_javascript_benchmarks status: na - task: run_julia_benchmarks status: na - task: run_python_benchmarks status: na - task: run_r_benchmarks status: na - task: run_javascript_tests status: na ---
1 parent 9cfa46a commit 8dfaa48

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

lib/node_modules/@stdlib/stats/base/dnanvariancepn/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ function rand() {
206206
}
207207

208208
var x = filledarrayBy( 10, 'float64', rand );
209+
console.log( x );
209210

210211
var v = dnanvariancepn( x.length, 1, x, 1 );
211212
console.log( v );

lib/node_modules/@stdlib/stats/base/dnanvariancepn/docs/repl.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@
6363

6464
{{alias}}.ndarray( N, correction, x, strideX, offsetX )
6565
Computes the variance of a double-precision floating-point strided array
66-
ignoring `NaN` values and using a one-pass trial mean algorithm and
67-
alternative indexing semantics.
66+
ignoring `NaN` values and using a two-pass algorithm and alternative
67+
indexing semantics.
6868

6969
While typed array views mandate a view offset based on the underlying
7070
buffer, the `offset` parameter supports indexing semantics based on a

lib/node_modules/@stdlib/stats/base/dnanvariancepn/examples/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ function rand() {
3131
}
3232

3333
var x = filledarrayBy( 10, 'float64', rand );
34+
console.log( x );
3435

3536
var v = dnanvariancepn( x.length, 1, x, 1 );
3637
console.log( v );

0 commit comments

Comments
 (0)