Commit 2bb7859
Guard run_restart against degenerate t_step_stop ≈ t_step_start
When t_step_stop - t_step_start < 2, the midpoint equals t_step_start
and Phase 1 computes t_step_save = 0, violating the min: 1 constraint.
Add an early MFCException to catch this case with a clear error message.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 193d3f8 commit 2bb7859
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
149 | 155 | | |
150 | 156 | | |
151 | 157 | | |
| |||
0 commit comments