Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ab5424 committed Oct 29, 2024
1 parent 1482657 commit 36288fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/analysis/test_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def test_gb_fraction(self) -> None:
"""Test the GB fraction method."""
self.data.perform_cna(enabled=("fcc"))
gb_fraction = self.data.get_gb_fraction()
assert_allclose(gb_fraction, 3361 / 7681 if version("ovito") < "3.11" else 3351 / 7681) # type: ignore[arg-type]
assert_allclose(gb_fraction, float(3361 / 7681 if BREAKING_VERSION else 3351 / 7681))

def test_grain_segmentation(self) -> None:
"""Test the grain segmentation method."""
Expand Down

0 comments on commit 36288fc

Please sign in to comment.