[Rcpp-commits] r1683 - in pkg/Rcpp: inst/include/Rcpp src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Jun 23 20:18:56 CEST 2010


Author: edd
Date: 2010-06-23 20:18:56 +0200 (Wed, 23 Jun 2010)
New Revision: 1683

Modified:
   pkg/Rcpp/inst/include/Rcpp/DateVector.h
   pkg/Rcpp/src/DateVector.cpp
Log:
getDates() not getVector()


Modified: pkg/Rcpp/inst/include/Rcpp/DateVector.h
===================================================================
--- pkg/Rcpp/inst/include/Rcpp/DateVector.h	2010-06-23 18:16:32 UTC (rev 1682)
+++ pkg/Rcpp/inst/include/Rcpp/DateVector.h	2010-06-23 18:18:56 UTC (rev 1683)
@@ -35,7 +35,7 @@
 		const Date& operator()(unsigned int i) const;
 		Date& operator()(unsigned int i);
 		int size() const;
-		std::vector<Date> getVector() const;
+		std::vector<Date> getDates() const;
 	private:
 		std::vector<Date> v;
 	};

Modified: pkg/Rcpp/src/DateVector.cpp
===================================================================
--- pkg/Rcpp/src/DateVector.cpp	2010-06-23 18:16:32 UTC (rev 1682)
+++ pkg/Rcpp/src/DateVector.cpp	2010-06-23 18:18:56 UTC (rev 1683)
@@ -64,7 +64,7 @@
 		return v.size(); 
 	}
 
-	std::vector<Date> DateVector::getVector() const {
+	std::vector<Date> DateVector::getDates() const {
 		return v;
 	}
 



More information about the Rcpp-commits mailing list