Skip to content

Commit 9981227

Browse files
author
ripley
committed
tweak
git-svn-id: https://svn.r-project.org/R/trunk@87821 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 1067238 commit 9981227

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nmath/qbeta.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ double qbeta(double alpha, double p, double q, int lower_tail, int log_p)
6666
// allowing p==0 and q==0 <==> treat as one- or two-point mass
6767

6868
double qbet[2];// = { qbeta(), 1 - qbeta() }
69-
qbeta_raw(alpha, p, q, lower_tail, log_p,
69+
qbeta_raw(alpha, p, q, lower_tail != 0, log_p != 0,
7070
// log_q_cut , n_N
7171
USE_LOG_X_CUTOFF, n_NEWTON_FREE, qbet);
7272
return qbet[0];

0 commit comments

Comments
 (0)