Commit 5ba494a
TST: relax noisy stream_velocity_z apogee tolerance
stream_velocity_z at apogee is a residual of the apogee-time estimation:
it is physically ~0 but swings by ~1e-4 m/s across platforms/NumPy
versions and atmosphere discretizations (e.g. -8.9e-8 on py3.10 with the
new ISA grid, -2.0e-4 with the old grid, +2.6e-4 on py3.14). The previous
atol=1e-5 was tighter than this numerical noise, making the assertion
flaky. Use atol=1e-3, which is physically negligible (vertical speed
peaks above 200 m/s) while still catching real regressions.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent a79b84a commit 5ba494a
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
389 | | - | |
390 | 389 | | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
391 | 396 | | |
392 | 397 | | |
393 | 398 | | |
| |||
414 | 419 | | |
415 | 420 | | |
416 | 421 | | |
417 | | - | |
| 422 | + | |
418 | 423 | | |
419 | 424 | | |
420 | 425 | | |
| |||
0 commit comments