Skip to content

[pull] main from numpy:main#570

Merged
pull[bot] merged 1 commit intoishandutta2007:mainfrom
numpy:main
Mar 9, 2026
Merged

[pull] main from numpy:main#570
pull[bot] merged 1 commit intoishandutta2007:mainfrom
numpy:main

Conversation

@pull
Copy link

@pull pull bot commented Mar 9, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Replaces custom complex struct definitions (struct {T r,i;}) with the npy_cfloat, npy_cdouble, npy_clongdouble types. Updates accessor patterns from .r/.i to npy_creal/npy_cimag/npy_csetreal/npy_csetimag. Replaces {0.0,0.0} initializers with npy_cpack().

The TRYCOMPLEXPYARRAYTEMPLATE macro now uses helper functions to extract real/imag parts as doubles, since the npy accessor functions are type-specific while the macro is type-generic.
@pull pull bot locked and limited conversation to collaborators Mar 9, 2026
@pull pull bot added the ⤵️ pull label Mar 9, 2026
@pull pull bot merged commit 8b6b265 into ishandutta2007:main Mar 9, 2026
20 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant