[Developers] FW: [ADMB Users] NLMM Model Selection

Mark Maunder mmaunder at iattc.org
Tue Feb 22 21:18:42 PST 2011


Has anyone addressed this or put it on a to do list?
 

-----Original Message-----
From: users-bounces at admb-project.org [mailto:users-bounces at admb-project.org] On Behalf Of Poos, Jan Jaap
Sent: Tuesday, February 22, 2011 2:22 AM
To: users at admb-project.org
Subject: Re: [ADMB Users] NLMM Model Selection

Hi,

When defining too many stddev_params in a model, ADMB exits with the cryptic message: "This version of ADMB only supports 150". Clearly there is something missing in the message. Below is a small  patch for /src/admodel2.cpp, adding " stddev_params" to the message. I hope one of the developers can patch admodel2.cpp.

Cheers, Jan Jaap

--- model2.cpp.old      2011-02-22 11:46:57.000000000 +0100
+++ model2.cpp  2011-02-22 11:50:20.000000000 +0100
@@ -17,7 +17,7 @@
     if (num_stddev_params>=150)
     {
       cerr << "This version of ADMB only supports " << num_stddev_params
-           << endl;
+           << " stddev_params" << endl;
       exit(1);
     }
     stddevptr[num_stddev_params++]= this; // this is the list of
@@ -28,7 +28,7 @@
     if (num_stddev_number_params>=150)
     {
       cerr << "This version of ADMB only supports " << num_stddev_params
-           << endl;
+           << " stddev_params" << endl;
       exit(1);
     }
     stddev_number_ptr[num_stddev_number_params++]= this; // this is the list of

  

_______________________________________________
Users mailing list
Users at admb-project.org
http://lists.admb-project.org/mailman/listinfo/users


More information about the Developers mailing list