Skip to content

Commit 3a3cd95

Browse files
committed
Merge pull request #288 from romainfrancois/master
added omitted is__simple<Rcomplex>.
2 parents 68a0ff7 + bce27ff commit 3a3cd95

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2014-04-14 Romain Francois <[email protected]>
2+
3+
* inst/include/Rcpp/api/meat/is.h: added is__simple<Rcomplex>
4+
15
2015-04-12 Dirk Eddelbuettel <[email protected]>
26

37
* vignettes/Rcpp-FAQ.Rnw: Also load Rcpp to make cppFunction visible

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: Rcpp
22
Title: Seamless R and C++ Integration
3-
Version: 0.11.5.2
3+
Version: 0.11.5.3
44
Date: 2015-04-11
55
Author: Dirk Eddelbuettel, Romain Francois, JJ Allaire, Kevin Ushey,
66
Douglas Bates, and John Chambers

inst/include/Rcpp/api/meat/is.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ namespace Rcpp {
4545
template <> inline bool is__simple<String>(SEXP x) {
4646
return is_atomic(x) && TYPEOF(x) == STRSXP;
4747
}
48+
template <> inline bool is__simple<Rcomplex>(SEXP x) {
49+
return is_atomic(x) && TYPEOF(x) == CPLXSXP;
50+
}
4851
template <> inline bool is__simple<CharacterVector>(SEXP x) {
4952
return TYPEOF(x) == STRSXP;
5053
}

inst/include/Rcpp/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#define RCPP_VERSION Rcpp_Version(0,11,5)
3131

3232
// the current source snapshot
33-
#define RCPP_DEV_VERSION RcppDevVersion(0,11,5,0)
33+
#define RCPP_DEV_VERSION RcppDevVersion(0,11,5,3)
3434

3535
#endif
3636

0 commit comments

Comments
 (0)