[repetition.Grid] fix __le__ comparison of b_vector
This commit is contained in:
parent
0cce5e0586
commit
b7143e3287
1 changed files with 1 additions and 1 deletions
|
|
@ -303,7 +303,7 @@ class Grid(Repetition):
|
|||
if other.b_vector is None:
|
||||
return False
|
||||
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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue