mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-12-21 11:03:29 +01:00
Fix bug with non-continuous active MOs and deleted
This commit is contained in:
parent
e751901fa8
commit
65e124380a
@ -27,9 +27,7 @@ BEGIN_PROVIDER [ integer(bit_kind), full_ijkl_bitmask, (N_int) ]
|
||||
full_ijkl_bitmask(j) = 0_bit_kind
|
||||
do i=0,bit_kind_size-1
|
||||
k=k+1
|
||||
if (mo_class(k) /= 'Deleted') then
|
||||
full_ijkl_bitmask(j) = ibset(full_ijkl_bitmask(j),i)
|
||||
endif
|
||||
full_ijkl_bitmask(j) = ibset(full_ijkl_bitmask(j),i)
|
||||
if (k == mo_num) exit
|
||||
enddo
|
||||
enddo
|
||||
|
Loading…
Reference in New Issue
Block a user