Skip to content

Commit 47fe320

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent f61ebbd commit 47fe320

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

deepmd/utils/tabulate.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,7 @@ def build(
203203
ll = np.min(lower)
204204

205205
# 2. Create a unique input grid xx for this shared geometric network based on the global range
206-
xx = np.arange(
207-
extrapolate * ll, ll, stride1, dtype=self.data_type
208-
)
206+
xx = np.arange(extrapolate * ll, ll, stride1, dtype=self.data_type)
209207
xx = np.append(
210208
xx,
211209
np.arange(ll, uu, stride0, dtype=self.data_type),
@@ -219,9 +217,7 @@ def build(
219217
dtype=self.data_type,
220218
),
221219
)
222-
xx = np.append(
223-
xx, np.array([extrapolate * uu], dtype=self.data_type)
224-
)
220+
xx = np.append(xx, np.array([extrapolate * uu], dtype=self.data_type))
225221

226222
# 3. Calculate the number of spline points
227223
nspline = (

0 commit comments

Comments
 (0)