NUMPY_API *Set internal structure with number functions that all arrays will use */
| 125 | *Set internal structure with number functions that all arrays will use |
| 126 | */ |
| 127 | NPY_NO_EXPORT int |
| 128 | PyArray_SetNumericOps(PyObject *dict) |
| 129 | { |
| 130 | /* 2018-09-09, 1.16 */ |
| 131 | if (DEPRECATE("PyArray_SetNumericOps is deprecated. Use " |
| 132 | "PyUFunc_ReplaceLoopBySignature to replace ufunc inner loop functions " |
| 133 | "instead.") < 0) { |
| 134 | return -1; |
| 135 | } |
| 136 | return _PyArray_SetNumericOps(dict); |
| 137 | } |
| 138 | |
| 139 | /* Note - macro contains goto */ |
| 140 | #define GET(op) if (n_ops.op && \ |
no test coverage detected