[Rcpp-commits] r2015 - pkg/Rcpp/inst/include/Rcpp/stats/random
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sun Aug 15 13:55:44 CEST 2010
Author: romain
Date: 2010-08-15 13:55:44 +0200 (Sun, 15 Aug 2010)
New Revision: 2015
Modified:
pkg/Rcpp/inst/include/Rcpp/stats/random/random.h
pkg/Rcpp/inst/include/Rcpp/stats/random/rhyper.h
Log:
rhyper was not included
Modified: pkg/Rcpp/inst/include/Rcpp/stats/random/random.h
===================================================================
--- pkg/Rcpp/inst/include/Rcpp/stats/random/random.h 2010-08-15 11:53:20 UTC (rev 2014)
+++ pkg/Rcpp/inst/include/Rcpp/stats/random/random.h 2010-08-15 11:55:44 UTC (rev 2015)
@@ -42,5 +42,6 @@
#include <Rcpp/stats/random/rlogis.h>
#include <Rcpp/stats/random/rwilcox.h>
#include <Rcpp/stats/random/rsignrank.h>
+#include <Rcpp/stats/random/rhyper.h>
#endif
Modified: pkg/Rcpp/inst/include/Rcpp/stats/random/rhyper.h
===================================================================
--- pkg/Rcpp/inst/include/Rcpp/stats/random/rhyper.h 2010-08-15 11:53:20 UTC (rev 2014)
+++ pkg/Rcpp/inst/include/Rcpp/stats/random/rhyper.h 2010-08-15 11:55:44 UTC (rev 2015)
@@ -25,7 +25,7 @@
namespace Rcpp {
inline NumericVector rhyper( int n, double nn1, double nn2, double kk ){
- return NumericVector( n, ::Rf_rhyper, a, b ) ;
+ return NumericVector( n, ::Rf_rhyper, nn1, nn2, kk ) ;
}
} // Rcpp
More information about the Rcpp-commits
mailing list