Skip to content

Commit c04f41f

Browse files
committed
fix: should compare the row_vector cell, clean: fix changelog typo
1 parent e17db82 commit c04f41f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@
8181
* New correlation function module, https://github.com/Radical-AI/torch-sim/pull/115 @stefanbringuier
8282

8383
### Documentation 📖
84-
* Imoved model documentation, https://github.com/Radical-AI/torch-sim/pull/121 @orionarcher
84+
85+
* Improved model documentation, https://github.com/Radical-AI/torch-sim/pull/121 @orionarcher
8586
* Plot of TorchSim module graph in docs, https://github.com/Radical-AI/torch-sim/pull/132 @janosh
8687

8788
### House-Keeping 🧹

tests/models/test_torchsim_vs_ase_fire_mace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def test_unit_cell_frechet_fire_vs_ase(
110110
final_custom_forces_max = torch.norm(custom_state.forces, dim=-1).max().item()
111111

112112
final_custom_pos = custom_state.positions.detach()
113-
final_custom_cell = custom_state.cell.squeeze(0).detach()
113+
final_custom_cell = custom_state.row_vector_cell.squeeze(0).detach()
114114

115115
final_ase_energy = ase_atoms.get_potential_energy()
116116
final_ase_forces = torch.tensor(ase_atoms.get_forces(), device=device, dtype=dtype)

0 commit comments

Comments
 (0)