Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@ jobs:
# which kills the job with its log.
- name: Add swap
run: |
df -h /
sudo fallocate -l 4G /swap.extra
sudo chmod 600 /swap.extra
sudo mkswap /swap.extra
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ jobs:
- name: Add swap
if: runner.os == 'Linux'
run: |
df -h /
sudo fallocate -l 4G /swap.extra
sudo chmod 600 /swap.extra
sudo mkswap /swap.extra
Expand Down Expand Up @@ -265,6 +266,7 @@ jobs:
# which kills the job with its log.
- name: Add swap
run: |
df -h /
sudo fallocate -l 4G /swap.extra
sudo chmod 600 /swap.extra
sudo mkswap /swap.extra
Expand Down
6 changes: 4 additions & 2 deletions tests/backends/test_native_planar_statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,15 +227,17 @@ def test_the_finish_on_the_band_is_the_reference_s():
reason=(
"SEP 43 inventory 35: native's split-step finish masks only after the temporal "
"absorber; the reference also masks before it, so content off the band leaks "
"onto it (1.1e-8 against 3.2e-12). No march hands it such rows"
"onto it (normwise departure 2.2e-8 against a bound of 3.2e-12). No march "
"hands it such rows"
),
)
def test_a_finish_with_content_off_the_band_is_the_reference_s_on_it():
"""The reference masks before the collar; off-band rows show whether native does.

Reached only by handing the finish such rows, ``adopt`` directly: a load masks, the
source's prefactor and the in-stage term are zero there, and the flow is the
identity there. Measured 1.1e-8 at unit content off the band, 4.4e6 V/m at the peak.
identity there. Measured on Linux x86-64 at unit content off the band: a departure
of 2.186e-8 relative to the norm of the reference finish, whose peak is 4.4e6 V/m.
"""
problem, _, expected, actual = _split_step_finish(1.0 + 1.0j)
assert_within(actual, expected, finish_bound(problem), what="the finish")
Loading