Skip to content
Prev 2079 / 10988 Next

[Rcpp-devel] Vector allocation memory problem

Hmmm. I think you just need "i<n" instead of "i<=n" in your for construct.

Romain



Le 8 avr. 2011 ? 10:12 AM, Cedric Ginestet <c.ginestet05 at googlemail.com> a ?crit :
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20110408/1b7fb4f6/attachment.htm>