[ADMB Users] Very short test code attached for colfill problem I'm having

20 views
Skip to first unread message

Brandon Chasco

unread,
May 28, 2013, 4:48:02 PM5/28/13
to us...@admb-project.org

I’m using ADMB 10.1 for windows 64-bit.  I’m also using Arni’s IDE.  You don’t need a dat file, I’m just trying to see if this compiles on someone else’s machine when you uncomment the random effects part.  It compiles just fine with admb testTPL but not admb –r testTPL.  I can’t find anywhere in the fvar or df1d2… header files why this would be the case.  This isn’t a critical problem, it would just make my code look a little nicer.

 

Thanks in advance,

 

Brandon

 

DATA_SECTION

  init_matrix dat(1,3,1,2);

 

PARAMETER_SECTION

  init_number x;

  matrix Mat1(1,3,1,2);

 

  //Just uncomment this and try compiling

  //with –r flag

  //random_effects_vector rx(1,2);

  objective_function_value ff;

 

PROCEDURE_SECTION

               ff = 0;

              

  Mat1.colfill(1,column(dat,1));  //fill Mat1 column 1 with dat column 1

  //ff =  norm2(rx);                                                                                                     

  ff += -1*square(x);

 

REPORT_SECTION

               cout<<Mat1<<endl;

              

 

 

Nez Perce Tribe

DFRM-Research

Work 208-621-4718

Cell 206-406-5793

 

dave fournier

unread,
May 29, 2013, 2:07:51 PM5/29/13
to us...@admb-project.org
It looks like colfill for df1b2matrices never wrote itself.
_______________________________________________
Users mailing list
Us...@admb-project.org
http://lists.admb-project.org/mailman/listinfo/users
Reply all
Reply to author
Forward
0 new messages