Skip to content

Commit

Permalink
fixed small type error in os.environ.get
Browse files Browse the repository at this point in the history
  • Loading branch information
mcocdawc committed Dec 13, 2024
1 parent d2b9d50 commit 2f55fba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/quemb/molbe/solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ def solve_block2(mf, nocc, frag_scratch, **solver_kwargs):
[max_noise, max_noise, max_noise / 10, max_noise / 100, max_noise / 100, 0.0],
)
# Other DMRG parameters
mc.fcisolver.threads = int(os.environ.get("OMP_NUM_THREADS", 8))
mc.fcisolver.threads = int(os.environ.get("OMP_NUM_THREADS", "8"))
mc.fcisolver.twodot_to_onedot = int(twodot_to_onedot)
mc.fcisolver.maxIter = int(max_iter)
mc.fcisolver.block_extra_keyword = list(block_extra_keyword)
Expand Down

0 comments on commit 2f55fba

Please sign in to comment.