10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-12-22 20:34:58 +01:00

Type conversion

This commit is contained in:
Anthony Scemama 2019-06-05 18:00:04 +02:00
parent 9c028127a0
commit 3c6b417ae7
2 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@ subroutine run_cipsi
if (qp_stop()) exit
n_det_before = N_det
to_select = N_det*int(sqrt(dble(N_states)))*selection_factor
to_select = int(sqrt(dble(N_states)*dble(N_det))*selection_factor)
to_select = max(N_states_diag, to_select)
call ZMQ_selection(to_select, pt2, variance, norm)

View File

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