We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4932fbe commit 24b301aCopy full SHA for 24b301a
1 file changed
deepmd/dpmodel/atomic_model/linear_atomic_model.py
@@ -509,6 +509,5 @@ def _compute_weight(
509
coef = xp.where(right_mask, xp.zeros_like(coef), coef)
510
# to handle masked atoms
511
coef = xp.where(sigma != 0, coef, xp.zeros_like(coef))
512
- # never used variable
513
- # self.zbl_weight = coef
+ self.zbl_weight = coef
514
return [1 - xp.expand_dims(coef, -1), xp.expand_dims(coef, -1)]
0 commit comments