Skip to content

Commit

Permalink
Resolve two more const issues
Browse files Browse the repository at this point in the history
  • Loading branch information
moble committed Dec 19, 2023
1 parent 34a1485 commit 5c25a33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/numpy_quaternion.c
Original file line number Diff line number Diff line change
Expand Up @@ -1283,7 +1283,7 @@ pyquaternion_squad_evaluate(PyObject *NPY_UNUSED(self), PyObject *args)
// was pieced together from examples given on the page
// <https://docs.scipy.org/doc/numpy/user/c-info.ufunc-tutorial.html>
static void
slerp_loop(char **args, npy_intp *dimensions, npy_intp* steps, void* NPY_UNUSED(data))
slerp_loop(char **args, NPY_INTP_CONST * dimensions, NPY_INTP_CONST * steps, void* NPY_UNUSED(data))
{
npy_intp i;
double tau_i;
Expand Down Expand Up @@ -1319,7 +1319,7 @@ slerp_loop(char **args, npy_intp *dimensions, npy_intp* steps, void* NPY_UNUSED(
// was pieced together from examples given on the page
// <https://docs.scipy.org/doc/numpy/user/c-info.ufunc-tutorial.html>
static void
squad_loop(char **args, npy_intp *dimensions, npy_intp* steps, void* NPY_UNUSED(data))
squad_loop(char **args, NPY_INTP_CONST * dimensions, NPY_INTP_CONST * steps, void* NPY_UNUSED(data))
{
npy_intp i;
double tau_i;
Expand Down

0 comments on commit 5c25a33

Please sign in to comment.