(self)
| 807 | assert_equal(edges[1].dtype, y_edges.dtype) |
| 808 | |
| 809 | def test_large_integers(self): |
| 810 | big = 2**60 # Too large to represent with a full precision float |
| 811 | |
| 812 | x = np.array([0], np.int64) |
| 813 | x_edges = np.array([-1, +1], np.int64) |
| 814 | y = big + x |
| 815 | y_edges = big + x_edges |
| 816 | |
| 817 | hist, edges = histogramdd((x, y), bins=(x_edges, y_edges)) |
| 818 | |
| 819 | assert_equal(hist[0, 0], 1) |
| 820 | |
| 821 | def test_density_non_uniform_2d(self): |
| 822 | # Defines the following grid: |
nothing calls this directly
no test coverage detected