10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-12-23 04:43:50 +01:00

Remove one useless if in N_det

This commit is contained in:
Thomas APPLENCOURT 2014-10-21 09:40:46 +02:00
parent 7f76f8e2c6
commit 410f564a04

View File

@ -10,7 +10,6 @@ BEGIN_PROVIDER [ integer, N_det ]
PROVIDE ezfio_filename PROVIDE ezfio_filename
if (read_wf) then if (read_wf) then
call ezfio_has_determinants_n_det(exists) call ezfio_has_determinants_n_det(exists)
if (exists) then
if (exists) then if (exists) then
call ezfio_has_determinants_mo_label(exists) call ezfio_has_determinants_mo_label(exists)
if (exists) then if (exists) then
@ -18,7 +17,6 @@ BEGIN_PROVIDER [ integer, N_det ]
exists = (label == mo_label) exists = (label == mo_label)
endif endif
endif endif
endif
if (exists) then if (exists) then
call ezfio_get_determinants_n_det(N_det) call ezfio_get_determinants_n_det(N_det)
else else