Skip to content

Commit

Permalink
fix bug in abaus/scf
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Nov 5, 2024
1 parent c3bf5bd commit 8d72c08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dpdata/abacus/scf.py
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ def get_frame_from_stru(fname):
data["orig"] = np.zeros(3)
data["spins"] = np.array([magmom])
if len(move) > 0:
data["move"] = move[np.newaxis, :, :]
data["move"] = np.array([move])

return data

Expand Down

0 comments on commit 8d72c08

Please sign in to comment.