| 3115 | } |
| 3116 | |
| 3117 | static PyObject * |
| 3118 | array_correlate(PyObject *NPY_UNUSED(dummy), |
| 3119 | PyObject *const *args, Py_ssize_t len_args, PyObject *kwnames) |
| 3120 | { |
| 3121 | PyObject *shape, *a0; |
| 3122 | int mode = 0; |
| 3123 | NPY_PREPARE_ARGPARSER; |
| 3124 | |
| 3125 | if (npy_parse_arguments("correlate", args, len_args, kwnames, |
| 3126 | "a", NULL, &a0, |
| 3127 | "v", NULL, &shape, |
| 3128 | "|mode", &PyArray_CorrelatemodeConverter, &mode, |
| 3129 | NULL, NULL, NULL) < 0) { |
| 3130 | return NULL; |
| 3131 | } |
| 3132 | return PyArray_Correlate(a0, shape, mode); |
| 3133 | } |
| 3134 | |
| 3135 | static PyObject* |
| 3136 | array_correlate2(PyObject *NPY_UNUSED(dummy), |
nothing calls this directly
no test coverage detected