Skip to content

Fix compatibility with and enable limited API#237

Merged
astrofrog merged 16 commits intohyperion-rt:mainfrom
astrofrog:limited-api
Apr 21, 2024
Merged

Fix compatibility with and enable limited API#237
astrofrog merged 16 commits intohyperion-rt:mainfrom
astrofrog:limited-api

Conversation

@astrofrog
Copy link
Copy Markdown
Contributor

Incomplete, one of the lines in the Voronoi wrapper code needs updating

Comment thread hyperion/grid/_voronoi_core.c Outdated
for (i = 0; i < n_wall_args; ++i) {
// NOTE: PyTuple_GetItem returns a borrowed reference, no need to handle refcount.
wall_args_arr[i] = PyFloat_AS_DOUBLE(PyTuple_GetItem(wall_args_obj,(Py_ssize_t)i));
// wall_args_arr[i] = PyFloat_AS_DOUBLE(PyTuple_GetItem(wall_args_obj,(Py_ssize_t)i));
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to fix this!

@astrofrog astrofrog force-pushed the limited-api branch 5 times, most recently from d18ab48 to 9f30e3e Compare April 21, 2024 21:21
@astrofrog astrofrog marked this pull request as ready for review April 21, 2024 22:08
@astrofrog astrofrog merged commit 12a3da1 into hyperion-rt:main Apr 21, 2024
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.

1 participant