Skip to content

Commit

Permalink
adjust doctests for numpy v2.0.0 compatability
Browse files Browse the repository at this point in the history
  • Loading branch information
spj101 committed Jul 16, 2024
1 parent fab07c4 commit 7fa2d92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pySecDec/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ def rangecomb(low, high):
>>> from pySecDec.misc import rangecomb
>>> all_orders = rangecomb([-1,-2], [0,0])
>>> list(all_orders)
[(-1, -2), (-1, -1), (-1, 0), (0, -2), (0, -1), (0, 0)]
>>> list(all_orders) == [(-1, -2), (-1, -1), (-1, 0), (0, -2), (0, -1), (0, 0)]
True
'''
low = np.asarray(low)
Expand Down

0 comments on commit 7fa2d92

Please sign in to comment.