9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-12-21 11:03:29 +01:00

Fixed selection for multiple states

This commit is contained in:
Anthony Scemama 2019-03-20 12:49:00 +01:00
parent 34f701f8cd
commit dc5568c1cb

View File

@ -70,7 +70,7 @@ subroutine run_stochastic_cipsi
write(*,'(A)') '--------------------------------------------------------------------------------'
to_select = N_det
to_select = N_det*int(sqrt(dble(N_states)))
to_select = max(N_states_diag, to_select)
pt2 = 0.d0