NUMPY_API * Compare Lists */
| 232 | * Compare Lists |
| 233 | */ |
| 234 | NPY_NO_EXPORT int |
| 235 | PyArray_CompareLists(npy_intp const *l1, npy_intp const *l2, int n) |
| 236 | { |
| 237 | int i; |
| 238 | |
| 239 | for (i = 0; i < n; i++) { |
| 240 | if (l1[i] != l2[i]) { |
| 241 | return 0; |
| 242 | } |
| 243 | } |
| 244 | return 1; |
| 245 | } |
| 246 | |
| 247 | /* |
| 248 | * simulates a C-style 1-3 dimensional array which can be accessed using |
no outgoing calls
no test coverage detected