9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-11-07 14:03:37 +01:00

Merge pull request #205 from Ydrnan/qp2_dev
Some checks failed
continuous-integration/drone/push Build is failing

fix bug save_wavefunction_general
This commit is contained in:
Anthony Scemama 2022-05-13 19:10:49 +02:00 committed by GitHub
commit 35627a6c22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -503,11 +503,12 @@ subroutine save_wavefunction_general(ndet,nstates,psidet,dim_psicoef,psicoef)
integer :: i,j,k, ndet_qp_edit
if (mpi_master) then
ndet_qp_edit = min(ndet,10000)
call ezfio_set_determinants_N_int(N_int)
call ezfio_set_determinants_bit_kind(bit_kind)
call ezfio_set_determinants_N_det(ndet)
call ezfio_set_determinants_N_det_qp_edit(min(ndet,10000))
call ezfio_set_determinants_N_det_qp_edit(ndet_qp_edit)
call ezfio_set_determinants_n_states(nstates)
call ezfio_set_determinants_mo_label(mo_label)