[repetition.Grid] drop b_vector=None handling (guaranteed to be zeros now)

This commit is contained in:
jan 2026-03-09 11:19:42 -07:00
commit a6ea5c08e6

View file

@ -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