Skip to content

Commit

Permalink
fix: call Finalize on bmi model
Browse files Browse the repository at this point in the history
  • Loading branch information
hellkite500 committed Jun 13, 2024
1 parent e9b1ff2 commit d971102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bmi_main_lgar.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ int main(int argc, char *argv[])

// do final mass balance
model_state.global_mass_balance();

model_state.Finalize();
if (outdata_fptr) {
fclose(outdata_fptr);
fclose(outlayer_fptr);
Expand Down

0 comments on commit d971102

Please sign in to comment.