Skip to content

Commit

Permalink
use nao instead of nao_nr() (#278)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsung authored Jul 9, 2024
1 parent fd77a6a commit 1085271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/ffsim/molecular_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def from_scf(

# Get core energy and one- and two-body integrals.
if active_space is None:
norb = mol.nao_nr()
norb = mol.nao
active_space = range(norb)
active_space = list(active_space)
norb = len(active_space)
Expand Down

0 comments on commit 1085271

Please sign in to comment.