Skip to content

[Rcpp-devel] R.e. "No matching function for call to as(double&)" error at compile time

1 message · Christian Gunning

#
Does this work?
double test0 = test[0];

In general, including a self-contained minimal example helps.
sourceRcpp() makes this trivial.

-Christian