We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8c3042 commit cc4a2eeCopy full SHA for cc4a2ee
lib/node_modules/@stdlib/math/base/special/beta/lib/beta.js
@@ -65,7 +65,6 @@ var G = 10.90051099999999983936049829935654997826;
65
* // returns NaN
66
*/
67
function beta( a, b ) {
68
- var prefix;
69
var ambh;
70
var agh;
71
var bgh;
@@ -74,7 +73,6 @@ function beta( a, b ) {
74
73
var tmp;
75
var c;
76
77
- prefix = 1;
78
if ( isnan( a ) || isnan( b ) ) {
79
return NaN;
80
}
@@ -128,9 +126,6 @@ function beta( a, b ) {
128
126
res *= pow( (agh*bgh)/(cgh*cgh), b );
129
127
130
res *= sqrt( E/bgh);
131
-
132
- // If `a` and `b` were originally less than 1 we need to scale the result:
133
- res *= prefix;
134
return res;
135
} // end FUNCTION beta()
136
0 commit comments