Skip to content

Commit b978231

Browse files
committed
chore: 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: passed - task: lint_package_json status: na - task: lint_repl_help status: passed - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: passed - task: lint_javascript_benchmarks status: na - task: lint_python status: missing_dependencies - 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 9cca2eb commit b978231

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

lib/node_modules/@stdlib/stats/base/dists/planck/skewness/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ v = skewness( 1.5 );
6464
// returns ~2.5894
6565
```
6666

67-
If provided a success probability `lambda` which is nonpositive or `NaN`, the function returns `NaN`.
67+
If provided a shape parameter `lambda` which is nonpositive or `NaN`, the function returns `NaN`.
6868

6969
```javascript
7070
var v = skewness( NaN );

lib/node_modules/@stdlib/stats/base/dists/planck/skewness/docs/repl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
{{alias}}( λ )
3-
Returns the skewness of a geometric distribution with shape parameter `λ`.
3+
Returns the skewness of a Planck distribution with shape parameter `λ`.
44

55
If `λ <= 0`, the function returns `NaN`.
66

lib/node_modules/@stdlib/stats/base/dists/planck/skewness/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function skewness( lambda ) {
5252
if ( isnan( lambda ) || lambda <= 0.0 ) {
5353
return NaN;
5454
}
55-
return 2 * cosh( lambda / 2.0 );
55+
return 2.0 * cosh( lambda / 2.0 );
5656
}
5757

5858

lib/node_modules/@stdlib/stats/base/dists/planck/skewness/test/fixtures/python/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def gen(lam, name):
4242
# Examples
4343
4444
```python
45-
python> lam = np.random.rand(1000) * 20
45+
python> lam = np.random.rand(1000) * 20.0
4646
python> gen(lam, "data.json")
4747
```
4848
"""

lib/node_modules/@stdlib/stats/base/dists/planck/skewness/test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ tape( 'if provided `NaN` for `lambda`, the function returns `NaN`', function tes
4646
t.end();
4747
});
4848

49-
tape( 'if provided a success probability `lambda` which is nonpositive, the function returns `NaN`', function test( t ) {
49+
tape( 'if provided a shape parameter `lambda` which is nonpositive, the function returns `NaN`', function test( t ) {
5050
var v;
5151

5252
v = skewness( 0.0 );

0 commit comments

Comments
 (0)