| 724 | const char *errmess); |
| 725 | |
| 726 | static int |
| 727 | find_first_negative_dimension(const int rank, const npy_intp *dims) |
| 728 | { |
| 729 | int i; |
| 730 | for (i = 0; i < rank; ++i) { |
| 731 | if (dims[i] < 0) { |
| 732 | return i; |
| 733 | } |
| 734 | } |
| 735 | return -1; |
| 736 | } |
| 737 | |
| 738 | #ifdef DEBUG_COPY_ND_ARRAY |
| 739 | void |
no outgoing calls
no test coverage detected