Message-ID: <CAJ_LAMB_PJEB1SZXfu3KgLiU3Ytvvs_=9dQShpM+k-1BrW=L-w@mail.gmail.com>
Date: 2017-07-10T06:22:56Z
From: Qiang Kou
Subject: [Rcpp-devel] A tough RcppArmadillo Error; address(nil) cause 'unknown' in R
In-Reply-To: <8e37a906-e60e-b713-2ffc-67c7f1f538b1@mail.ecc.u-tokyo.ac.jp>
In the ge-model.cpp, from line 216 to line 225, the *_rand* will be
initialized there.
These lines of code are part of the "initialize" function.
If you don't call the "initialize", the array won't be initialized and
cause a memory error in deconstructor.
Can we discuss off the list?
This really has nothing to do with Rcpp.
Best,
KK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20170709/a63a271d/attachment.html>