mirror of
https://github.com/LCPQ/quantum_package
synced 2024-12-22 12:23:48 +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
|
||||
logical :: is_in_wavefunction
|
||||
|
||||
is_in_wavefunction = .False.
|
||||
get_index_in_psi_det_sorted_bit = 0
|
||||
ibegin = 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)
|
||||
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
|
||||
cycle
|
||||
|
Loading…
Reference in New Issue
Block a user