10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-12-26 06:14:43 +01:00

Trying to optimize pt2:

This commit is contained in:
Anthony Scemama 2018-06-18 09:36:41 +02:00
parent 6d05caffd5
commit f1be78d1a8

View File

@ -570,7 +570,7 @@ END_PROVIDER
comb_step = 1d0/dfloat(comb_teeth) comb_step = 1d0/dfloat(comb_teeth)
first_det_of_comb = 1 first_det_of_comb = 1
do i=1,N_det_generators do i=1,N_det_generators
if(pt2_weight(i)/norm_left < .25d0*comb_step) then if(pt2_weight(i)/norm_left < .5d0*comb_step) then
first_det_of_comb = i first_det_of_comb = i
exit exit
end if end if