gadget-framework / gadget3

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

Default parscale scaling won't work for -1..1 #70

Closed lentinj closed 2 years ago

lentinj commented 2 years ago

mean(c(-1, 1)) obviously isn't what we want.

lentinj commented 2 years ago

diff() is the obvious answer here. But the setting of parscale makes far more sense in g3_init_guess than it does in g3_tmb_parscale.