Skip to content

Commit 28a189a

Browse files
author
luke
committed
Re-enable declaration of rnbeta until Rcpp is fixed.
git-svn-id: https://svn.r-project.org/R/trunk@89137 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent fa107d0 commit 28a189a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/include/Rmath.h0.in

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -540,9 +540,14 @@ double rlogis(double, double);
540540
double dnbeta(double, double, double, double, int);
541541
double pnbeta(double, double, double, double, int, int);
542542
double qnbeta(double, double, double, double, int, int);
543-
//double rnbeta(double, double, double);
543+
#ifdef COMPILING_RCPP
544+
# if RCPP_VERSION <= Rcpp_Version(1,1,0)
545+
// Rcpp 1.1.0 relies on this declaration existing
546+
double rnbeta(double, double, double);
547+
# endif
548+
#endif
544549

545-
/* Non-central F Distribution */
550+
/* Non-central F Distribution */
546551

547552
double dnf(double, double, double, double, int);
548553
double pnf(double, double, double, double, int, int);

0 commit comments

Comments
 (0)