[repetition.Grid] fix __le__ comparison of b_vector

This commit is contained in:
jan 2026-03-09 01:08:35 -07:00
commit b7143e3287

View file

@ -303,7 +303,7 @@ class Grid(Repetition):
if other.b_vector is None: if other.b_vector is None:
return False return False
if not numpy.array_equal(self.b_vector, other.b_vector): if not numpy.array_equal(self.b_vector, other.b_vector):
return tuple(self.a_vector) < tuple(other.a_vector) return tuple(self.b_vector) < tuple(other.b_vector)
return False return False