Skip to content

Commit fcdd130

Browse files
committed
serialize protection and use_exp_switch for EnvMat
Signed-off-by: Jinzhe Zeng <jinzhe.zeng@ustc.edu.cn>
1 parent 3a520b5 commit fcdd130

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

deepmd/dpmodel/utils/env_mat.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,8 @@ def serialize(
177177
return {
178178
"rcut": self.rcut,
179179
"rcut_smth": self.rcut_smth,
180+
"protection": self.protection,
181+
"use_exp_switch": self.use_exp_switch,
180182
}
181183

182184
@classmethod

0 commit comments

Comments
 (0)