[ADMB Users] 3d ragged array with RE

H. Skaug hskaug at gmail.com
Wed Feb 8 00:09:37 PST 2012


Hi,

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).

Hans



On Wed, Feb 8, 2012 at 1:24 AM, Mollie Brooks <mbrooks at ufl.edu> wrote:
> Hi,
> 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 [11])'
>
> This is the line in the cpp file
> tk_minus_b.allocate(1,nponds,1,ndays,1,nobs,"tk_minus_b");
>
> 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?
>
> thanks,
> Mollie
>
> Mollie Brooks
> Ph.D. Candidate
> NSF IGERT Fellow
> Biology Department
> University of Florida
> mbrooks at ufl.edu
> http://people.biology.ufl.edu/mbrooks
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at admb-project.org
> http://lists.admb-project.org/mailman/listinfo/users



More information about the Users mailing list