Skip to content

Commit 8f7b325

Browse files
committed
typo
1 parent 3a20efb commit 8f7b325

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyscf/gto/mole.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3855,7 +3855,7 @@ def to_cell(self, box=None, dimension=None, margin=None):
38553855
of the box.
38563856
'''
38573857
from pyscf.pbc.gto import Cell, rcut_by_shells
3858-
cell = mol.view(Cell)
3858+
cell = self.view(Cell)
38593859
if box is None:
38603860
# Place molecule in a big box for dimension=0
38613861
dimension = 0

0 commit comments

Comments
 (0)