(self)
| 1762 | np.squeeze(np.array([[1], [2], [3]]), axis=0) |
| 1763 | |
| 1764 | def test_reduce_contiguous(self): |
| 1765 | # GitHub issue #387 |
| 1766 | a = np.add.reduce(np.zeros((2, 1, 2)), (0, 1)) |
| 1767 | b = np.add.reduce(np.zeros((2, 1, 2)), 1) |
| 1768 | assert_(a.flags.c_contiguous) |
| 1769 | assert_(a.flags.f_contiguous) |
| 1770 | assert_(b.flags.c_contiguous) |
| 1771 | |
| 1772 | @requires_deep_recursion |
| 1773 | def test_object_array_self_reference(self): |