Skip to content

Commit

Permalink
switch to attr access interface for transformation matrix (#3964)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmathis authored Aug 1, 2024
1 parent 660ba7a commit 633e7bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pymatgen/core/tensors.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ def get_ieee_rotation(
# Check conventional setting:
sga = SpacegroupAnalyzer(structure)
dataset = sga.get_symmetry_dataset()
trans_mat = dataset["transformation_matrix"]
trans_mat = dataset.transformation_matrix
conv_latt = Lattice(np.transpose(np.dot(np.transpose(structure.lattice.matrix), np.linalg.inv(trans_mat))))
xtal_sys = sga.get_crystal_system()

Expand Down

0 comments on commit 633e7bd

Please sign in to comment.