[Rcpp-commits] r2475 - pkg/wls/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Nov 20 19:40:33 CET 2010


Author: jmc
Date: 2010-11-20 19:40:32 +0100 (Sat, 20 Nov 2010)
New Revision: 2475

Modified:
   pkg/wls/src/wls.cpp
Log:
change test to not have default constructor (from rev 2474 to Rcpp)

Modified: pkg/wls/src/wls.cpp
===================================================================
--- pkg/wls/src/wls.cpp	2010-11-20 18:39:34 UTC (rev 2474)
+++ pkg/wls/src/wls.cpp	2010-11-20 18:40:32 UTC (rev 2475)
@@ -6,7 +6,7 @@
 class Wls{
 public:
 
-    Wls() {}
+    //  Wls() {}
 
     Wls(SEXP xr, SEXP yr) {
 	x = NumericMatrix(xr);
@@ -59,7 +59,7 @@
 RCPP_MODULE(mwls) {
 
 class_<Wls>( "cppWls" )
-    .default_constructor()
+    // .default_constructor()
     .constructor(init_2<NumericMatrix,NumericVector>())
     .method("fit", &Wls::fit)
     ;



More information about the Rcpp-commits mailing list