[Rcpp-commits] r976 - pkg/RcppGsl/src
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sun Apr 4 11:50:19 CEST 2010
Author: romain
Date: 2010-04-04 11:50:18 +0200 (Sun, 04 Apr 2010)
New Revision: 976
Modified:
pkg/RcppGsl/src/RcppGsl.cpp
Log:
gsl_vector -> numeric vector (not integer)
Modified: pkg/RcppGsl/src/RcppGsl.cpp
===================================================================
--- pkg/RcppGsl/src/RcppGsl.cpp 2010-04-04 09:49:55 UTC (rev 975)
+++ pkg/RcppGsl/src/RcppGsl.cpp 2010-04-04 09:50:18 UTC (rev 976)
@@ -2,7 +2,7 @@
extern "C" SEXP test_gsl_vector(){
gsl_vector * x = gsl_vector_alloc (10);
- Rcpp::IntegerVector xx = Rcpp::wrap( *x ) ;
+ Rcpp::NumericVector xx = Rcpp::wrap( *x ) ;
gsl_vector_free (x);
return xx ;
}
More information about the Rcpp-commits
mailing list