Skip to content

Commit

Permalink
fixed bug with openshell slater determinant case
Browse files Browse the repository at this point in the history
  • Loading branch information
nmayhall-vt committed Apr 30, 2023
1 parent ee4ceb0 commit 9639352
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/incore_cmf.jl
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,11 @@ function cmf_ci_iteration(ints::InCoreInts{T}, clusters::Vector{MOCluster}, in_r
db = Matrix(1.0I, no, no)
end

if spin_avg
da = .5*(da + db)
db .= da
end

d1 = RDM1(da,db)
d2 = RDM2(d1)

e = compute_energy(ints_i, d1)

verbose < 2 || @printf(" Slater Det Energy: %12.8f\n", e)
else
#
Expand Down

0 comments on commit 9639352

Please sign in to comment.