You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- `SW_NC_write_output()` & `SW_NC_read_out_vars()`
* New goto target to close open file
* Use goto instead of return upon failure
- Issues #424 and #426
- In SOILWAT2 v8.0.0, there is a bug where the two functions - `SW_NC_write_output()` & `SW_NC_read_out_vars()` - upon error, the open file does not get closed
- The mentioned two functions now close files upon failure before leaving the function
- See #424 and #426
It appears that SW_NC_read_out_vars() was missed when commit 6964cfb "Use goto to close files in read files" was applied. We should fix that
The text was updated successfully, but these errors were encountered: