[Rcpp-commits] r4098 - in pkg/Rcpp: inst/include/Rcpp src
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu Dec 6 03:01:51 CET 2012
Author: romain
Date: 2012-12-06 03:01:50 +0100 (Thu, 06 Dec 2012)
New Revision: 4098
Modified:
pkg/Rcpp/inst/include/Rcpp/complex.h
pkg/Rcpp/src/complex.cpp
Log:
less include
Modified: pkg/Rcpp/inst/include/Rcpp/complex.h
===================================================================
--- pkg/Rcpp/inst/include/Rcpp/complex.h 2012-12-06 01:46:45 UTC (rev 4097)
+++ pkg/Rcpp/inst/include/Rcpp/complex.h 2012-12-06 02:01:50 UTC (rev 4098)
@@ -26,6 +26,5 @@
Rcomplex operator+( const Rcomplex& lhs, const Rcomplex& rhs) ;
Rcomplex operator-( const Rcomplex& lhs, const Rcomplex& rhs) ;
Rcomplex operator/( const Rcomplex& a, const Rcomplex& b) ;
-
#endif
Modified: pkg/Rcpp/src/complex.cpp
===================================================================
--- pkg/Rcpp/src/complex.cpp 2012-12-06 01:46:45 UTC (rev 4097)
+++ pkg/Rcpp/src/complex.cpp 2012-12-06 02:01:50 UTC (rev 4098)
@@ -2,7 +2,7 @@
//
// complex.cpp : Rcpp R/C++ interface class library -- complex binary operators
//
-// Copyright (C) 2010 - 2011 Dirk Eddelbuettel and Romain Francois
+// Copyright (C) 2010 - 2012 Dirk Eddelbuettel and Romain Francois
//
// This file is part of Rcpp.
//
@@ -19,7 +19,8 @@
// You should have received a copy of the GNU General Public License
// along with Rcpp. If not, see <http://www.gnu.org/licenses/>.
-#include <RcppCommon.h>
+#include <R_ext/Complex.h>
+#include <Rcpp/complex.h>
Rcomplex operator*( const Rcomplex& lhs, const Rcomplex& rhs){
Rcomplex y ;
More information about the Rcpp-commits
mailing list