[Rcpp-devel] Debug string typo fix in wrap.h

QRD qrd at sig.com
Fri May 17 14:13:22 CEST 2013


Minor typo fix.  (In case the patch gets mangled, line 449 of wrap.h
should emit a debug string including "true" rather than "false".)

--- Rcpp-orig/inst/include/Rcpp/internal/wrap.h 2013-03-20 19:00:56.000000000 +0000
+++ Rcpp/inst/include/Rcpp/internal/wrap.h      2013-05-17 11:45:53.978029200 +0100
@@ -446,7 +446,7 @@
  */
 template <typename T>
 inline SEXP wrap_dispatch_unknown( const T& object, ::Rcpp::traits::true_type ){
-       RCPP_DEBUG_1( "wrap_dispatch_unknown<%s>(., false  )", DEMANGLE(T) )
+       RCPP_DEBUG_1( "wrap_dispatch_unknown<%s>(., true  )", DEMANGLE(T) )
        // here we know (or assume) that T is convertible to SEXP
        SEXP x = object ;
        return



More information about the Rcpp-devel mailing list