Commit 72eeb02
fix: use table lookup for boundary index instead of inverse sigma_shift formula
Replace the analytical inverse sigma_shift formula with a direct table
lookup on scheduler.timesteps. This avoids floating-point precision
issues (e.g. 0.24999 vs 0.25) and the sigma_min != 0 approximation
error, giving an exact boundary at the intended timestep threshold.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 93110ce commit 72eeb02
1 file changed
Lines changed: 3 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1386 | 1386 | | |
1387 | 1387 | | |
1388 | 1388 | | |
1389 | | - | |
1390 | | - | |
1391 | | - | |
1392 | | - | |
1393 | | - | |
1394 | | - | |
1395 | | - | |
1396 | | - | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
1397 | 1392 | | |
1398 | 1393 | | |
1399 | 1394 | | |
| |||
0 commit comments