Closed feathern closed 1 month ago
This fixes a bug in Rayleigh where a checkpoint file can appear to be too large if the file existed and was overwritten in a subsequent run with lower resolution. This PR ensures that the file is deleted before being written to, preventing this bug.
OK, this looks good and fixes the bug I was encountering.
This fixes a bug in Rayleigh where a checkpoint file can appear to be too large if the file existed and was overwritten in a subsequent run with lower resolution. This PR ensures that the file is deleted before being written to, preventing this bug.