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

Avoid DomainError when hill exponent is 1<h<2 #79

Merged
merged 1 commit into from
May 28, 2019
Merged

Conversation

evadelmas
Copy link
Collaborator

Fixes #76

Locally set biomass = 0.0 when it's approx. 0.0 (abs. tolerance = 1e-5) to avoid negative exponentiation.

@evadelmas evadelmas merged commit 5f4e7a7 into next May 28, 2019
@evadelmas evadelmas deleted the hill_exponentiation branch May 28, 2019 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant