Skip to content

Commit a4a50de

Browse files
Small formatting change in cbind.h; NEWS.Rd
1 parent 112e47a commit a4a50de

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

inst/NEWS.Rd

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
\itemize{
2020
\item Added new Sugar function \code{median()} (Nathan in PR \ghpr{425}
2121
closing \ghit{424})
22-
\item Added new Sugar function \code{cbind()} (Nathan in PR TBD
22+
\item Added new Sugar function \code{cbind()} (Nathan in PR \ghpr{447}
2323
closing \ghit{407})
2424
}
2525
\item Changes in Rcpp Attributes:

inst/include/Rcpp/sugar/functions/cbind.h

+1-3
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,7 @@ class JoinOp
192192

193193
inline R_xlen_t nrow() const { return e1.nrow(); }
194194

195-
inline R_xlen_t ncol() const {
196-
return e1.ncol() + e2.ncol();
197-
}
195+
inline R_xlen_t ncol() const { return e1.ncol() + e2.ncol(); }
198196

199197
inline stored_type operator[](R_xlen_t i) const {
200198
return (i < e1.size()) ? e1[i] : e2[i - e1.size()];

0 commit comments

Comments
 (0)