You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: crash when do_recdev = 0 is combined with SRR option 7 (but work-around is available) #560
@quang-huynh reported an issue with combining SRR option 7 with the setting do_recdev = 0, which leads to the following error:
Finished calculating benchmarks
array bound exceeded -- index too high in prevariable::operator()
The error does not occur when the Beverton-Holt stock-recruit option is used.
This is a low priority to fix because the recdevs can be turned off via negative phase instead of do_recdevs, but good to have reported here anyway so we have a record of the problem if it happens to anyone else.
If a fix isn't easy to find, we could add a warning saying to use negative phase instead of do_recdevs when working with SRR option 7.
Activity