Skip to content

Commit

Permalink
fix rcut_smth>rcut
Browse files Browse the repository at this point in the history
Signed-off-by: Jinzhe Zeng <[email protected]>
  • Loading branch information
njzjz committed Mar 5, 2024
1 parent 5392fcc commit 7afa8d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions source/tests/common/dpmodel/test_linear_atomic_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ def test_pairwise(self, mock_loadtxt):
nlist = np.array([[[1], [-1]]])

ds = DescrptSeA(
rcut=0.3,
rcut_smth=0.4,
rcut_smth=0.3,
rcut=0.4,
sel=[3],
)
ft = InvarFitting(
Expand Down
4 changes: 2 additions & 2 deletions source/tests/pt/model/test_linear_atomic_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ def test_pairwise(self, mock_loadtxt):
nlist = torch.tensor([[[1], [-1]]], device=env.DEVICE)

ds = DescrptSeA(
rcut=0.3,
rcut_smth=0.4,
rcut_smth=0.3,
rcut=0.4,
sel=[3],
).to(env.DEVICE)
ft = InvarFitting(
Expand Down

0 comments on commit 7afa8d8

Please sign in to comment.