mirror of
https://github.com/LCPQ/quantum_package
synced 2025-01-08 20:33:26 +01:00
Corrected little bugs
This commit is contained in:
parent
e7f0704365
commit
18b038e06d
@ -60,6 +60,7 @@ integer function get_index_in_psi_det_sorted_bit(key,Nint)
|
|||||||
integer*8, external :: det_search_key
|
integer*8, external :: det_search_key
|
||||||
logical :: is_in_wavefunction
|
logical :: is_in_wavefunction
|
||||||
|
|
||||||
|
is_in_wavefunction = .False.
|
||||||
get_index_in_psi_det_sorted_bit = 0
|
get_index_in_psi_det_sorted_bit = 0
|
||||||
ibegin = 1
|
ibegin = 1
|
||||||
iend = N_det+1
|
iend = N_det+1
|
||||||
|
@ -25,7 +25,7 @@ subroutine perturb_buffer_$PERT(i_generator,buffer,buffer_size,e_2_pert_buffer,c
|
|||||||
ASSERT (N_st > 0)
|
ASSERT (N_st > 0)
|
||||||
do i = 1,buffer_size
|
do i = 1,buffer_size
|
||||||
|
|
||||||
c_ref = connected_to_ref(buffer(1,1,i),psi_generators,Nint,i_generator,N_det)
|
c_ref = connected_to_ref(buffer(1,1,i),psi_generators,Nint,i_generator,N_det_generators)
|
||||||
|
|
||||||
if (c_ref /= 0) then
|
if (c_ref /= 0) then
|
||||||
cycle
|
cycle
|
||||||
|
Loading…
Reference in New Issue
Block a user