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

fix(BudgetTerm.f90): ensure that the size of an array is >0 before deallocating #1815

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

emorway-usgs
Copy link
Contributor

  • Fix offered in BudgetTerm was discovered using models that included only a single SFT/SFE reach. Previously, GWF models with a single SFR reach would work. Only transport models would fail.
  • 2 new autotests offered that each use only a single reach
    • The first autotest is for a GWT model (test_gwt_uztmvt2x1). This test ensures that in addition to a single reach, a single MVT connection between UZT and SFT works as expected
    • The 2nd autotest is for a GWE model (test_gwe_drycell_cnd3). This test checks that conduction between SFE and a dry host cell is working as expected in a single-reach model
  • Extended an existing single-reach SFR autotest to include SFT. Prior to this fix, the added GWT model with a single SFT reach would fail because of the bug.
  • Brief description of bug offered in release notes
  • fprettify
  • black

@emorway-usgs emorway-usgs force-pushed the fix_sft branch 3 times, most recently from 7cdf52f to 07f53e6 Compare May 22, 2024 23:17
@emorway-usgs emorway-usgs changed the title fix(BudgetTerm.f90): ensure that the size of an array is >0 before attempting to deallocate fix(BudgetTerm.f90): ensure that the size of an array is >0 before deallocating May 23, 2024
@emorway-usgs emorway-usgs force-pushed the fix_sft branch 6 times, most recently from 238bc44 to 3bfd57e Compare June 21, 2024 23:18
@emorway-usgs emorway-usgs force-pushed the fix_sft branch 5 times, most recently from b42469e to e216987 Compare July 9, 2024 17:36
@emorway-usgs emorway-usgs force-pushed the fix_sft branch 2 times, most recently from f06679d to cd25d01 Compare July 16, 2024 21:00
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.

None yet

1 participant