Skip to content

Commit 74dd716

Browse files
committed
Fix test regression again.
1 parent c7dc381 commit 74dd716

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pymatgen/core/lattice.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def __init__(
7373
self._lll_matrix_mappings: dict[float, tuple[np.ndarray, np.ndarray]] = {}
7474
self._lll_inverse = None
7575

76-
self._pbc = tuple(bool(item) for item in pbc)
76+
self.pbc = pbc
7777

7878
@property
7979
def pbc(self) -> tuple[bool, bool, bool]:
@@ -84,7 +84,7 @@ def pbc(self) -> tuple[bool, bool, bool]:
8484
def pbc(self, pbc: tuple[bool, bool, bool]) -> None:
8585
if len(pbc) != 3 or any(item not in {True, False} for item in pbc):
8686
raise ValueError(f"pbc must be a tuple of three True/False values, got {pbc}")
87-
self._pbc = tuple(bool(item) for item in pbc)
87+
self._pbc = tuple(bool(item) for item in pbc)
8888

8989
def __repr__(self) -> str:
9090
return "\n".join(

0 commit comments

Comments
 (0)