admb-project / admb

AD Model Builder
http://admb-project.org
Other
64 stars 19 forks source link

sort out "ADMB only supports 250 initial parameter objects" #89

Closed iantaylor-NOAA closed 6 years ago

iantaylor-NOAA commented 6 years ago

In this thread, Dave Fournier suggested that a change to line 27 of /src/nh99/model.cpp from const int initial_params::max_num_initial_params=250; to const int initial_params::max_num_initial_params=4000; would loosen a limitation on the code and allow some larger models to work that are currently getting the error "ADMB only supports 250 initial parameter objects".

There is some kind of switch related to BIG_INIT_PARAMS, but it's not clear how that works or whether there would ever be a need for the smaller limit given current computing setups.

johnoel commented 6 years ago

Used recommendation.