9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-12-22 19:43:32 +01:00

avoid uninitialized phase in get_excitation

This commit is contained in:
Yann Damour 2023-01-17 13:40:59 +01:00
parent 2f937cbca4
commit e953cf4415

View File

@ -126,6 +126,8 @@ subroutine get_excitation(det1,det2,exc,degree,phase,Nint)
return return
case(0) case(0)
! Avoid uninitialized phase
phase = 1d0
return return
end select end select