Skip to content

Commit

Permalink
Version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
lukacu committed May 13, 2024
1 parent 4851e5f commit 0abc8e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions vot/region/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ def test_ignore_mask(self):
r1 = Mask(np.ones((100, 100), dtype=np.uint8))
r2 = Mask(np.ones((100, 100), dtype=np.uint8))
ignore = Mask(np.zeros((100, 100), dtype=np.uint8))
self.assertEqual(calculate_overlap(r1, r2, ignore=ignore), 0)

ignore = Mask(np.ones((100, 100), dtype=np.uint8))
self.assertEqual(calculate_overlap(r1, r2, ignore=ignore), 1)

ignore = Mask(np.ones((100, 100), dtype=np.uint8))
self.assertEqual(calculate_overlap(r1, r2, ignore=ignore), 0)

def test_empty_mask(self):
"""Tests if the empty mask is correctly detected."""
from vot.region import Mask
Expand Down
2 changes: 1 addition & 1 deletion vot/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""
Toolkit version
"""
__version__ = '0.7.0'
__version__ = '0.7.1'

0 comments on commit 0abc8e5

Please sign in to comment.