From 1ef891e96847449a5a35c785e27ad7aa2b3b7b57 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 7 Apr 2024 08:34:21 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .../pt/model/atomic_model/linear_atomic_model.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/deepmd/pt/model/atomic_model/linear_atomic_model.py b/deepmd/pt/model/atomic_model/linear_atomic_model.py index 7fe23523a7..87b58388f2 100644 --- a/deepmd/pt/model/atomic_model/linear_atomic_model.py +++ b/deepmd/pt/model/atomic_model/linear_atomic_model.py @@ -193,13 +193,13 @@ def forward_atomic( # apply bias to each individual model ener_list.append( model.forward_common_atomic( - extended_coord, - mapping[extended_atype], - nlists_[i], - mapping, - fparam, - aparam, - )["energy"] + extended_coord, + mapping[extended_atype], + nlists_[i], + mapping, + fparam, + aparam, + )["energy"] ) weights = self._compute_weight(extended_coord, extended_atype, nlists_)