| 148 | } |
| 149 | |
| 150 | int Observe_INT32(PyArray_Descr* descr, int dtype) { |
| 151 | switch (dtype) { |
| 152 | _NUMPY_UNIFY_NOOP(INT8); |
| 153 | _NUMPY_UNIFY_NOOP(INT16); |
| 154 | _NUMPY_UNIFY_PROMOTE(INT32); |
| 155 | _NUMPY_UNIFY_PROMOTE(INT64); |
| 156 | _NUMPY_UNIFY_NOOP(UINT8); |
| 157 | _NUMPY_UNIFY_NOOP(UINT16); |
| 158 | _NUMPY_UNIFY_PROMOTE_TO(FLOAT32, FLOAT64); |
| 159 | _NUMPY_UNIFY_PROMOTE(FLOAT64); |
| 160 | default: |
| 161 | return INVALID; |
| 162 | } |
| 163 | } |
| 164 | |
| 165 | int Observe_INT64(PyArray_Descr* descr, int dtype) { |
| 166 | switch (dtype) { |
nothing calls this directly
no outgoing calls
no test coverage detected