fix gridrepetition mirror
This commit is contained in:
parent
2a53d8ef4d
commit
a930c65d42
@ -335,9 +335,9 @@ class GridRepetition:
|
||||
:return: self
|
||||
"""
|
||||
self.mirror_elements(axis)
|
||||
self.a_vector[axis] *= -1
|
||||
self.a_vector[1-axis] *= -1
|
||||
if self.b_vector is not None:
|
||||
self.b_vector[axis] *= -1
|
||||
self.b_vector[1-axis] *= -1
|
||||
return self
|
||||
|
||||
def mirror_elements(self, axis: int) -> 'GridRepetition':
|
||||
|
Loading…
Reference in New Issue
Block a user