Commit 90bf627
Fix dtype comparison using 'is' instead of '==' in _integrate.py
- 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#6781 parent eb2c2b2 commit 90bf627
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
265 | | - | |
| 265 | + | |
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
| |||
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
388 | | - | |
| 388 | + | |
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
| |||
0 commit comments