Skip to content

Commit cab5657

Browse files
committed
refactor: follow code convention
--- 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: passed - 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: passed - 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: na - 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 891d515 commit cab5657

File tree

2 files changed

+3
-3
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/bradford/median

2 files changed

+3
-3
lines changed

lib/node_modules/@stdlib/stats/base/dists/bradford/median/lib/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ var sqrt = require( '@stdlib/math/base/special/sqrt' );
2929
/**
3030
* Returns the median of a Bradford distribution.
3131
*
32-
* @param {PositiveNumber} c - shape parameter
33-
* @returns {NonNegativeNumber} median
32+
* @param {number} c - shape parameter
33+
* @returns {number} median
3434
*
3535
* @example
3636
* var v = median( 0.1 );

lib/node_modules/@stdlib/stats/base/dists/bradford/median/test/fixtures/python/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def gen(x, name):
4141
# Examples
4242
4343
``` python
44-
python> x = linspace(-1000, 1000, 2001)
44+
python> x = linspace(0.1, 100, 2001)
4545
python> gen(x, './data.json')
4646
```
4747
"""

0 commit comments

Comments
 (0)