Skip to content

BUG: Remove #undef complex from npy_common.h#24364

Merged
mattip merged 1 commit intonumpy:mainfrom
lysnikolaou:complex-keyword
Aug 8, 2023
Merged

BUG: Remove #undef complex from npy_common.h#24364
mattip merged 1 commit intonumpy:mainfrom
lysnikolaou:complex-keyword

Conversation

@lysnikolaou
Copy link
Member

  • Change complex to is_complex in multiarray/buffer.c
  • Change all complex occurences in vendored f2c to singlecomplex
  • Modify patches for f2c-generated code and regenerate

Closes #24344.

- Change complex to is_complex in multiarray/buffer.c
- Change all complex occurences in vendored f2c to singlecomplex
- Modify patches for f2c-generated code and regenerate

Closes numpy#24344.
@mattip mattip merged commit a2bfa54 into numpy:main Aug 8, 2023
@mattip
Copy link
Member

mattip commented Aug 8, 2023

Thanks @lysnikolaou

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: Use of #undef complex in npy_common.h breaks extension modules that use #include <complex.h>

2 participants

Comments