Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we remove avoid_zero_vec(stock_ss(stock__wgt)) #89

Open
lentinj opened this issue Nov 18, 2022 · 0 comments
Open

Can we remove avoid_zero_vec(stock_ss(stock__wgt)) #89

lentinj opened this issue Nov 18, 2022 · 0 comments

Comments

@lentinj
Copy link
Collaborator

lentinj commented Nov 18, 2022

This happens in multiple places, when converting total biomass back to individuals, e.g. g3a_predate_catchability_numberfleet and g3l_distribution.

Ideally stock__wgt would never fall to zero in the first place. In theory this should be possible, but may result in using avoid_zero_vec more than we do at present, if we have to wedge it into renewal, spawning, ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant