Skip to content

Commit

Permalink
Do not use transpose in ASE calculator
Browse files Browse the repository at this point in the history
  • Loading branch information
frostedoyster committed Jul 5, 2024
1 parent b7c42f0 commit 6fedf15
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ def _full_3x3_to_voigt_6_stress(stress):
Re-implementation of ``ase.stress.full_3x3_to_voigt_6_stress`` which does not do the
stress symmetrization correctly (they do ``(stress[1, 2] + stress[1, 2]) / 2.0``)
"""
return np.transpose(
return np.array(
[
stress[0, 0],
stress[1, 1],
Expand Down

0 comments on commit 6fedf15

Please sign in to comment.