[Rcpp-commits] r1918 - pkg/Rcpp/inst/include/Rcpp/stats

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Aug 5 17:36:48 CEST 2010


Author: romain
Date: 2010-08-05 17:36:47 +0200 (Thu, 05 Aug 2010)
New Revision: 1918

Modified:
   pkg/Rcpp/inst/include/Rcpp/stats/binom.h
Log:
pass log down ... oops

Modified: pkg/Rcpp/inst/include/Rcpp/stats/binom.h
===================================================================
--- pkg/Rcpp/inst/include/Rcpp/stats/binom.h	2010-08-05 15:25:02 UTC (rev 1917)
+++ pkg/Rcpp/inst/include/Rcpp/stats/binom.h	2010-08-05 15:36:47 UTC (rev 1918)
@@ -76,7 +76,7 @@
 
 template <bool NA, typename T>
 inline impl::DBinom<NA,T> dbinom( const Rcpp::VectorBase<INTSXP,NA,T>& x, int size, double prob, bool log = false ){
-	return impl::DBinom<NA,T>( x, size, prob ); 
+	return impl::DBinom<NA,T>( x, size, prob, log ); 
 }
 	
 }



More information about the Rcpp-commits mailing list