Skip to content

Commit 6631085

Browse files
chore: code review changes
--- 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: 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: 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: na - 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 b377a4c commit 6631085

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/stats/base/dsvariancepn

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ console.log( v );
241241
Computes the [variance][variance] of a single-precision floating-point strided array using a two-pass algorithm with extended accumulation and returning an extended precision result.
242242

243243
```c
244-
const float x[] = { 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f }
244+
const float x[] = { 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f };
245245

246246
double v = stdlib_strided_dsvariancepn( 8, 1.0f, x, 1 );
247247
// returns 6.0
@@ -263,7 +263,7 @@ double stdlib_strided_dsvariancepn( const CBLAS_INT N, const float correction, c
263263
Computes the [variance][variance] of a single-precision floating-point strided array using a two-pass algorithm with extended accumulation and returning an extended precision result and alternative indexing semantics.
264264

265265
```c
266-
const double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }
266+
const float x[] = { 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f };
267267

268268
double v = stdlib_strided_dsvariancepn_ndarray( 4, 1.0f, x, 2, 0 );
269269
// returns ~6.666667

0 commit comments

Comments
 (0)