[ADMB Users] 3d ragged array with RE
mbrooks at ufl.edu
Wed Feb 8 10:45:52 PST 2012
I'll try to figure out how to work around it.
My redmine account also seems to not be working at the moment. Maybe redmine is broken.
On 8 Feb 2012, at 3:09 AM, H. Skaug wrote:
> You are probably right: 3d ragged arrays are not implemented for random effects.
> I have never tried, but it would be nice if things works uniformly across the
> RE and non-RE versions.
> Can you create a Redmine issue (my account is not working at the moment).
> On Wed, Feb 8, 2012 at 1:24 AM, Mollie Brooks <mbrooks at ufl.edu> wrote:
>> I was running a model without any random effects and it was working fine. Now I need to change it to include random effects.
>> I'm getting an error on the line where I used to be able to allocate a 3d ragged array.
>> This is the error
>> pond.cpp:765: error: no matching function for call to 'df1b23array::allocate(int, data_int&, int, data_int&, int, data_ivector&, const char )'
>> This is the line in the cpp file
>> This seems to be the line in the tpl file
>> 3darray tk_minus_b(1,nponds,1,ndays,1,nobs)//(p,b,k)
>> nobs is an ivector with length=nponds
>> Are ragged arrays not available with random effects?
>> Mollie Brooks
>> Ph.D. Candidate
>> NSF IGERT Fellow
>> Biology Department
>> University of Florida
>> mbrooks at ufl.edu
>> Users mailing list
>> Users at admb-project.org
More information about the Users