mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-11-07 05:53:37 +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
|
full_ijkl_bitmask(j) = 0_bit_kind
|
||||||
do i=0,bit_kind_size-1
|
do i=0,bit_kind_size-1
|
||||||
k=k+1
|
k=k+1
|
||||||
if (mo_class(k) /= 'Deleted') then
|
|
||||||
full_ijkl_bitmask(j) = ibset(full_ijkl_bitmask(j),i)
|
full_ijkl_bitmask(j) = ibset(full_ijkl_bitmask(j),i)
|
||||||
endif
|
|
||||||
if (k == mo_num) exit
|
if (k == mo_num) exit
|
||||||
enddo
|
enddo
|
||||||
enddo
|
enddo
|
||||||
|
Loading…
Reference in New Issue
Block a user