Skip to content

Commit

Permalink
replace asarray by array
Browse files Browse the repository at this point in the history
  • Loading branch information
samwaseda committed Dec 31, 2023
1 parent 04c2ce8 commit af240e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyiron_atomistics/sphinx/input_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ def get_structure_group(
Returns:
(Group): structure group
"""
positions = np.asarray(positions)
cell = np.asarray(cell)
positions = np.array(positions)
cell = np.array(cell)
if not keep_angstrom:
cell /= BOHR_TO_ANGSTROM
positions /= BOHR_TO_ANGSTROM
Expand Down

0 comments on commit af240e0

Please sign in to comment.