Skip to content

Commit

Permalink
BLD: fix compilation against Cython 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros committed Sep 25, 2024
1 parent b541a57 commit 8a4003f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion yt/geometry/particle_deposit.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ import numpy as np
cimport cython
from libc.math cimport sqrt
from libc.stdlib cimport free, malloc
from numpy.math cimport PI as NPY_PI

from yt.utilities.lib.fp_utils cimport *

from .oct_container cimport Oct, OctreeContainer

cdef extern from "numpy/npy_math.h":
double NPY_PI

cdef extern from "platform_dep.h":
void *alloca(int)
Expand Down

0 comments on commit 8a4003f

Please sign in to comment.