Skip to content

Conversation

@ArianAmani
Copy link
Contributor

- Replace 'is' with '==' for dtype comparisons on lines 265 and 388
- Fixes assertion errors in scenarios involving serialization/distributed computing
- Ensures robust dtype comparison regardless of how dtype objects are created
- Maintains backward compatibility and intended behavior
Fixes patrick-kidger#678
@patrick-kidger patrick-kidger changed the base branch from main to dev August 15, 2025 21:00
@patrick-kidger patrick-kidger changed the base branch from dev to main August 15, 2025 21:02
@patrick-kidger patrick-kidger merged commit 90bf627 into patrick-kidger:main Aug 15, 2025
1 of 2 checks passed
@patrick-kidger
Copy link
Owner

Awesome, thank you for the clear issue description and for fix! This LGTM, so merged :)

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.

Bug Report: Incorrect dtype comparison using is instead of == in _integrate.py

2 participants