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

Guard clause for sorghum code. #3816

Merged
merged 1 commit into from
May 3, 2019
Merged

Conversation

hol430
Copy link
Contributor

@hol430 hol430 commented May 3, 2019

Working on #572

@jbrider can you have a look at this? This fixes a bug I ran into - to reproduce, just set sowing depth to 15 in any of the sorghum leaf simulations. This fixes the problem, but I have no idea if this is the best way to fix it or not.

Also seems odd that this code is only used by sorghum since it's in Root.cs.

@hol353 hol353 merged commit efce46f into APSIMInitiative:master May 3, 2019
@hol430 hol430 deleted the bug/Sorghum branch May 8, 2019 02:59
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.

2 participants