Skip to content

Commit

Permalink
fix ut of se_e2_a, compare old and new impls. (#161)
Browse files Browse the repository at this point in the history
Co-authored-by: Han Wang <wang_han@iapcm.ac.cn>
  • Loading branch information
wanghan-iapcm and Han Wang authored Jan 10, 2024
1 parent 0189716 commit 0539ab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_se_e2_a.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def test_consistency(
)
# old impl
dd1 = DescrptSeA.deserialize(dd0.serialize())
dd1.old_impl = False
dd1.old_impl = True
rd1, _,_,_,_ = dd1(
torch.tensor(self.nlist, dtype=int),
torch.tensor(self.coord_ext, dtype=dtype),
Expand Down

0 comments on commit 0539ab7

Please sign in to comment.