Skip to content

Commit 22532de

Browse files
committed
refactor: apply suggestions from PR review in main.c and header
--- 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: missing_dependencies - 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 efb3dc8 commit 22532de

File tree

2 files changed

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

2 files changed

+3
-3
lines changed

lib/node_modules/@stdlib/stats/base/dists/degenerate/median/include/stdlib/stats/base/dists/degenerate/median.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ extern "C" {
2828

2929
/**
3030
* Returns the median of a degenerate distribution with constant value `mu`.
31-
*
32-
* @param mu constant value of the distribution
33-
* @return median of the distribution
3431
*/
3532
double stdlib_base_dists_degenerate_median( const double mu );
3633

lib/node_modules/@stdlib/stats/base/dists/degenerate/median/src/main.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
/**
2323
* Returns the median of a degenerate distribution.
2424
*
25+
* @param mu constant value of the distribution
26+
* @return median
27+
*
2528
* @example
2629
* double v = stdlib_base_dists_degenerate_median( 0.1 );
2730
* // returns 0.1

0 commit comments

Comments
 (0)