10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-06-26 15:12:14 +02: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

@ -11,13 +11,11 @@ BEGIN_PROVIDER [ integer, N_det ]
if (read_wf) then
call ezfio_has_determinants_n_det(exists)
if (exists) then
if (exists) then
call ezfio_has_determinants_mo_label(exists)
if (exists) then
call ezfio_get_determinants_mo_label(label)
exists = (label == mo_label)
endif
endif
endif
if (exists) then
call ezfio_get_determinants_n_det(N_det)