Skip to content

Commit ce81aae

Browse files
committed
chore: minor clean-up
--- 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: passed - 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 ---
1 parent 19175c6 commit ce81aae

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

lib/node_modules/@stdlib/stats/base/dists/pareto-type1/mean/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2018 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/stats/base/dists/pareto-type1/mean/lib/native.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ var addon = require( './../src/addon.node' );
2626
// MAIN //
2727

2828
/**
29-
* Evaluates the mean for a Pareto Type I distribution with shape parameter `alpha` and scale parameter `beta`.
29+
* Returns the expected value for a Pareto Type I distribution with shape parameter `alpha` and scale parameter `beta`.
3030
*
3131
* @private
3232
* @param {number} alpha - shape parameter
3333
* @param {number} beta - scale parameter
34-
* @returns {number} evaluated mean
34+
* @returns {number} expected value
3535
*
3636
* @example
3737
* var y = mean( 2.0, 1.0 );
@@ -48,10 +48,6 @@ var addon = require( './../src/addon.node' );
4848
* @example
4949
* var y = mean( 2.0, NaN );
5050
* // returns NaN
51-
*
52-
* @example
53-
* var y = mean( 0.5, 1.0 );
54-
* // returns NaN
5551
*/
5652
function mean( alpha, beta ) {
5753
return addon( alpha, beta );

0 commit comments

Comments
 (0)