[Rcpp-commits] r2219 - pkg/Rcpp/inst/include/Rcpp/sugar/functions
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Sep 27 16:14:56 CEST 2010
Author: romain
Date: 2010-09-27 16:14:56 +0200 (Mon, 27 Sep 2010)
New Revision: 2219
Modified:
pkg/Rcpp/inst/include/Rcpp/sugar/functions/sapply.h
Log:
reword to make things clearer
Modified: pkg/Rcpp/inst/include/Rcpp/sugar/functions/sapply.h
===================================================================
--- pkg/Rcpp/inst/include/Rcpp/sugar/functions/sapply.h 2010-09-27 14:13:34 UTC (rev 2218)
+++ pkg/Rcpp/inst/include/Rcpp/sugar/functions/sapply.h 2010-09-27 14:14:56 UTC (rev 2219)
@@ -25,13 +25,13 @@
namespace Rcpp{
namespace sugar{
-template <int RTYPE, bool NA, typename T, typename Function, bool NEED_CONVERSION>
+template <int RTYPE, bool NA, typename T, typename Function, bool NO_CONVERSION>
class Sapply : public VectorBase<
Rcpp::traits::r_sexptype_traits<
typename ::Rcpp::traits::result_of<Function>::type
>::rtype ,
true ,
- Sapply<RTYPE,NA,T,Function,NEED_CONVERSION>
+ Sapply<RTYPE,NA,T,Function,NO_CONVERSION>
> {
public:
typedef typename ::Rcpp::traits::result_of<Function>::type result_type ;
More information about the Rcpp-commits
mailing list