Skip to content

Commit f52c390

Browse files
committed
Fix pylint issue.
1 parent 556a90b commit f52c390

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tbmodels/_tb_model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1274,8 +1274,8 @@ def remove_long_range_hop(self, *, cutoff_distance_cartesian: float) -> None:
12741274
"determine the cartesian distance between orbitals."
12751275
)
12761276
pos_cart = (self.uc.T @ self.pos.T).T
1277-
pos_offset_cart = pos_cart.reshape(1, -1, self.dim) - pos_cart.reshape(
1278-
-1, 1, self.dim
1277+
pos_offset_cart = pos_cart.reshape((1, -1, self.dim)) - pos_cart.reshape(
1278+
(-1, 1, self.dim)
12791279
)
12801280

12811281
# Cast to list because the dictionary is modified in the loop.

0 commit comments

Comments
 (0)