Closed vbartolino closed 2 months ago
The issue seems linked to the ~age ==
You're right. Seems I was being overenthusiastic with my suggestions, but it's an easy fix. Will push something in a bit and let you know.
just tested with the seal model and it works nicely, thanks
I'm trying to have an addition natural mortality only to the first age (age0) of the immature stock (age0-5) as below
the model returns a likelihood but fails to compile the object function.
I've tried with a different age or with a different syntax like
run_f = g3_formula(~age == 0)
but the issue persists. Havingg3a_naturalmortality
expressed twice for a stock works, I've checked, also playing with~cur_step ==
. The issue seems linked to the~age ==