Skip to content

Commit 1e309d4

Browse files
committed
chore: assigned constant value
--- 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: 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 ---
1 parent e8e9595 commit 1e309d4

File tree

2 files changed

+3
-8
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/gumbel/skewness

2 files changed

+3
-8
lines changed

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,11 @@
2121
// MODULES //
2222

2323
var isnan = require( '@stdlib/math/base/assert/is-nan' );
24-
var sqrt = require( '@stdlib/math/base/special/sqrt' );
25-
var zeta = require( '@stdlib/math/base/special/riemann-zeta' );
26-
var PI = require( '@stdlib/constants/float64/pi' );
2724

2825

2926
// VARIABLES //
3027

31-
var SKEWNESS = 12.0 * sqrt( 6.0 ) * zeta( 3.0 ) / ( PI*PI*PI );
28+
var SKEWNESS = 1.1395470994046488;
3229

3330

3431
// MAIN //

lib/node_modules/@stdlib/stats/base/dists/gumbel/skewness/src/main.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,11 @@
1717
*/
1818

1919
#include "stdlib/math/base/assert/is_nan.h"
20-
#include "stdlib/math/base/special/sqrt.h"
21-
#include "stdlib/math/base/special/riemann_zeta.h"
22-
#include "stdlib/constants/float64/pi.h"
20+
2321

2422
// VARIABLES //
2523

26-
static const double SKEWNESS = 12.0 * stdlib_base_sqrt( 6.0 ) * stdlib_base_zeta( 3.0 ) / ( STDLIB_CONSTANT_FLOAT64_PI*STDLIB_CONSTANT_FLOAT64_PI*STDLIB_CONSTANT_FLOAT64_PI );
24+
static const double SKEWNESS = 1.1395470994046488;
2725

2826

2927
// MAIN //

0 commit comments

Comments
 (0)