Skip to content

Window-edge test casts the target to float32 explicitly (CI fix) - #15

Merged
lfu46 merged 1 commit into
mainfrom
xic-window-edge-test-numpy
Oct 11, 2026
Merged

lfu46 merged 1 commit into
mainfrom
xic-window-edge-test-numpy

Conversation

@lfu46

@lfu46 lfu46 commented Oct 11, 2026

Copy link
Copy Markdown
Owner

Window-edge test casts the target to float32 explicitly (CI fix)

…under every NumPy

CI (both Pythons) passed the fix itself -- `_window_intensity` matched the float64 reference on
every target -- but failed the test's "has teeth" assertion: its float32 reference relied on
`float32_array - python_float` staying float32, which held locally and not on CI's NumPy, so no
disagreement was ever recorded there. The reference now rounds the target to float32 itself,
which is the behaviour the fix guards against, independent of promotion rules.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@lfu46
lfu46 merged commit 72e33cf into main Oct 11, 2026
@lfu46
lfu46 deleted the xic-window-edge-test-numpy branch October 11, 2026 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant