Skip to content

Conversation

@DarklordIITG
Copy link

@DarklordIITG DarklordIITG commented Dec 11, 2025

Initialize tmod_array with dtype=float in temperature.fuentes to avoid integer truncation when inputs are integer-typed.
Update test_fuentes_timezone expected outputs to the correct float values.

[x] Closes #2618
[x] I am familiar with the contributing guidelines
[ ] Tests added (no new tests; we updated existing expectations)
[ ] Updates entries in docs reference (none needed; no API change)
[ ] Adds description/name in whatsnew (optional; could add a short note under bug fixes)
[x] New code is fully documented (no new API; inline comment added for dtype reason)
[x] Pull request is nearly complete and ready for detailed review
[ ] Maintainer labels/milestone (for maintainers)
Tests
python -m pytest tests/test_temperature.py -k fuente

…e calculations and adjust corresponding test expectations
@cwhanse
Copy link
Member

cwhanse commented Dec 11, 2025

@DarklordIITG #2618 is addressing this issue. Thanks for the offer here.

@cwhanse cwhanse closed this Dec 11, 2025
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.

2 participants