[Rcpp-commits] r3271 - pkg/RcppEigen/inst/include

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Nov 3 20:22:38 CET 2011


Author: dmbates
Date: 2011-11-03 20:22:38 +0100 (Thu, 03 Nov 2011)
New Revision: 3271

Removed:
   pkg/RcppEigen/inst/include/PlainObjectBaseAddon.h
Modified:
   pkg/RcppEigen/inst/include/RcppEigenForward.h
Log:
Remove partial definitions of .begin() and .end() for MatrixBase.  They weren't really iterators.


Deleted: pkg/RcppEigen/inst/include/PlainObjectBaseAddon.h
===================================================================
--- pkg/RcppEigen/inst/include/PlainObjectBaseAddon.h	2011-11-03 07:40:34 UTC (rev 3270)
+++ pkg/RcppEigen/inst/include/PlainObjectBaseAddon.h	2011-11-03 19:22:38 UTC (rev 3271)
@@ -1,11 +0,0 @@
-    EIGEN_STRONG_INLINE const Scalar *begin() const
-    { return m_storage.data(); }
-
-    EIGEN_STRONG_INLINE Scalar *begin()
-    { return m_storage.data(); }
-
-    EIGEN_STRONG_INLINE const Scalar *end() const
-    { return m_storage.data() + base().size(); }
-
-    EIGEN_STRONG_INLINE Scalar *end()
-    { return m_storage.data() + base().size(); }

Modified: pkg/RcppEigen/inst/include/RcppEigenForward.h
===================================================================
--- pkg/RcppEigen/inst/include/RcppEigenForward.h	2011-11-03 07:40:34 UTC (rev 3270)
+++ pkg/RcppEigen/inst/include/RcppEigenForward.h	2011-11-03 19:22:38 UTC (rev 3271)
@@ -27,7 +27,6 @@
 #include <RcppEigenConfig.h>
 #include <RcppEigenCholmod.h>
 #include <RcppEigenStubs.h>
-#define EIGEN_PLAINOBJECTBASE_PLUGIN "PlainObjectBaseAddon.h"
 #include <Eigen/Dense>
 #include <unsupported/Eigen/SparseExtra> // also includes Eigen/Sparse
 



More information about the Rcpp-commits mailing list