Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid using variable name I in C code #226

Merged
merged 4 commits into from
Jun 21, 2024
Merged

Conversation

fkuehlein
Copy link
Collaborator

as was the case in core/_ext/src_numerics.c.

This is because I is already used for complex numbers in the complex.h library (see #225).

Note that the remaining functions contained in that file should eventually be migrated to core/_ext/numerics.pyx.

Also, the newly released Numpy 2.0 introduces breaking changes with its C API. Migration should be considered at some point using the provided giude.

- as it might interfere with C's own macro for complex
  numbers defined in the `complex.h` library
- due to breaking changes to its C API
@fkuehlein fkuehlein linked an issue Jun 21, 2024 that may be closed by this pull request
Copy link

codecov bot commented Jun 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.94%. Comparing base (5e03951) to head (8943340).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #226      +/-   ##
==========================================
+ Coverage   66.91%   66.94%   +0.03%     
==========================================
  Files          44       44              
  Lines        6193     6151      -42     
==========================================
- Hits         4144     4118      -26     
+ Misses       2049     2033      -16     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@fkuehlein fkuehlein merged commit 3079fda into master Jun 21, 2024
3 checks passed
@fkuehlein fkuehlein deleted the 225-cython-complex-I branch June 21, 2024 17:27
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.

'pip install pyunicorn' no longer works - fails to build wheel
1 participant