Skip to content

Commit

Permalink
change variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
jic198 committed Sep 18, 2023
1 parent 2696a9f commit cfe69d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aimsgb/grain.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ def get_orthogonal_matrix(self):
min_length=min(self.lattice.abc))
_s = self.copy()
_s = cst.apply_transformation(_s)
_csl = [reduce_vector(i) for i in cst.transformation_matrix]
matrix = [reduce_vector(i) for i in cst.transformation_matrix]
_s = self.copy()
_s.make_supercell(_csl)
_s.make_supercell(matrix)
sm = StructureMatcher(attempt_supercell=True, primitive_cell=False)
matrix = sm.get_supercell_matrix(_s, self)
return np.array([reduce_vector(i) for i in matrix])
Expand Down

0 comments on commit cfe69d4

Please sign in to comment.