diff --git a/pyproject.toml b/pyproject.toml index d14fe6d1..26b88cc6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,7 +35,7 @@ keywords = [ ] requires-python = ">=3.7" dependencies = [ - "boost-histogram~=1.3.1", + "boost-histogram>=1.3.1,<1.5", "histoprint>=2.2.0", "numpy>=1.14.5", 'typing-extensions>=4;python_version<"3.11"', diff --git a/tests/test_stacks.py b/tests/test_stacks.py index e3ed7be7..e8a09ed9 100644 --- a/tests/test_stacks.py +++ b/tests/test_stacks.py @@ -21,7 +21,7 @@ reg_hist = Hist(reg_ax).fill(np.random.randn(10)) boo_hist = Hist(boo_ax).fill([True, False, True]) var_hist = Hist(var_ax).fill(np.random.randn(10)) -int_hist = Hist(int_ax).fill(np.random.randn(10)) +int_hist = Hist(int_ax).fill(np.random.randint(-3, 3, size=10)) int_cat_hist = Hist(int_cat_ax).fill(np.random.randn(10)) str_cat_hist = Hist(str_cat_ax).fill(["T", "F", "T"])