Skip to content

Commit

Permalink
Update symmetry.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen authored Jan 30, 2024
1 parent 1819b5d commit 7150445
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions atomistics/workflows/elastic/symmetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ def ase_to_spglib(structure):
TODO: Optional vectors should be available.
"""
return (
np.array(cell.get_cell().T, dtype="double", order="C"),
np.array(cell.get_scaled_positions(), dtype="double", order="C"),
np.array(cell.get_atomic_numbers(), dtype="intc"),
np.array(structure.get_cell().T, dtype="double", order="C"),
np.array(structure.get_scaled_positions(), dtype="double", order="C"),
np.array(structure.get_atomic_numbers(), dtype="intc"),
)


Expand Down

0 comments on commit 7150445

Please sign in to comment.