From a6ea5c08e6cb1636f62e62d3c88b0ffa38dc199b Mon Sep 17 00:00:00 2001 From: jan Date: Mon, 9 Mar 2026 11:19:42 -0700 Subject: [PATCH] [repetition.Grid] drop b_vector=None handling (guaranteed to be zeros now) --- masque/repetition.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/masque/repetition.py b/masque/repetition.py index d7b6ac2..e1507b8 100644 --- a/masque/repetition.py +++ b/masque/repetition.py @@ -298,10 +298,6 @@ class Grid(Repetition): return self.b_count < other.b_count if not numpy.array_equal(self.a_vector, other.a_vector): return tuple(self.a_vector) < tuple(other.a_vector) - if self.b_vector is None: - return other.b_vector is not None - if other.b_vector is None: - return False if not numpy.array_equal(self.b_vector, other.b_vector): return tuple(self.b_vector) < tuple(other.b_vector) return False