gadget-framework / gadget3

TMB-based gadget implemtation
GNU General Public License v2.0
8 stars 6 forks source link

Clashing g3_param_table g3_param ("haddock problem") #167

Open lentinj opened 1 month ago

lentinj commented 1 month ago

As found in a haddock model, this makes a mess of initialising the parameters:

g3_to_tmb(list(
     g3_parameterized("K"),
     g3_parameterized("K", by_year = TRUE),
     g3a_time(1990, 1994) ))

It's a mistake in the model, but at very least we should handle it more gracefully.