Commit 65d1d26
use doctest ELLIPSIS for bandwidth() values to avoid ULP failures
bandwidth() gets its value from a scipy.optimize.root_scalar bisection,
so the last digit or two of the repr differs across scipy/BLAS builds.
The full-precision literals matched locally but failed on GitHub.
Truncate to ~14 significant digits with # doctest: +ELLIPSIS. This
keeps the examples verified (unlike +SKIP, used elsewhere in the repo
for platform-dependent output), and trim_doctest_flags (on by default)
strips the flag comment from the rendered HTML.
Also applied to the G1*G2 example, which has the same origin and had
not failed yet.
Verified with "make doctest" in doc/: 728 tests, 0 failures.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent c4f248c commit 65d1d26
2 files changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
706 | 706 | | |
707 | 707 | | |
708 | 708 | | |
709 | | - | |
710 | | - | |
| 709 | + | |
| 710 | + | |
711 | 711 | | |
712 | 712 | | |
713 | 713 | | |
714 | 714 | | |
715 | 715 | | |
716 | | - | |
717 | | - | |
| 716 | + | |
| 717 | + | |
718 | 718 | | |
719 | 719 | | |
720 | 720 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
194 | | - | |
| 193 | + | |
| 194 | + | |
0 commit comments